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