Try download bin from self repo
This commit is contained in:
@ -41,16 +41,13 @@ jobs:
|
||||
# --- NEW STEP: Download on Host ---
|
||||
- name: Pre-download LLVM Toolchain
|
||||
run: |
|
||||
# Variable MUST match what is in build-windows.sh
|
||||
LLVM_VER="20250528"
|
||||
TARBALL="llvm-mingw-${LLVM_VER}-ucrt-ubuntu-22.04-x86_64.tar.xz"
|
||||
URL="https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_VER}/${TARBALL}"
|
||||
TARBALL="llvm-mingw-20250528-ucrt-ubuntu-22.04-x86_64.tar.xz"
|
||||
# Internal Gitea URL
|
||||
URL="https://gitea.212.63.210.91.nip.io/api/packages/${{ gitea.repository_owner }}/generic/llvm-mingw/20250528/llvm-mingw.tar.xz"
|
||||
|
||||
echo "Downloading $TARBALL on runner host..."
|
||||
wget "$URL"
|
||||
|
||||
echo "Verifying file size..."
|
||||
ls -lh "$TARBALL"
|
||||
echo "Fetching from Gitea Registry..."
|
||||
# Use the Gitea Token for auth
|
||||
wget --header="Authorization: token ${{ secrets.USER_PACKAGE_PASSWORD }}" -O "$TARBALL" "$URL"
|
||||
|
||||
- name: Build Windows Target
|
||||
uses: docker://quay.io/buildah/stable
|
||||
|
||||
Reference in New Issue
Block a user