Put tarball in repo
Some checks failed
Publish Builder Images / build-base (push) Successful in 41s
Publish Builder Images / build-windows (push) Failing after 38s

This commit is contained in:
2025-12-02 11:36:43 +01:00
parent d2cb75a426
commit 43bdc6169c
3 changed files with 15 additions and 12 deletions

View File

@ -37,18 +37,7 @@ jobs:
- name: Make scripts executable
run: chmod +x *.sh
# --- NEW STEP: Download on Host ---
- name: Pre-download LLVM Toolchain
run: |
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 "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
env:

View File

@ -26,6 +26,20 @@ buildah pull --tls-verify=false --storage-driver=vfs "$BASE_TAG"
# This satisfies: FROM godot-fedora:custom
buildah tag --storage-driver=vfs "$BASE_TAG" "godot-fedora:custom"
echo "---------------------------------------"
echo "Preparing Context..."
echo "---------------------------------------"
# Check if the file exists in the 'files/' folder (provided by actions/checkout)
if [ -f "files/$TARBALL" ]; then
echo "✅ Found local tarball in repository. Copying to build context..."
cp "files/$TARBALL" .
else
echo "❌ CRITICAL ERROR: $TARBALL not found in 'files/' directory!"
echo "Did you forget to git add/push the file?"
exit 1
fi
echo "---------------------------------------"
echo "Building Windows Image..."
echo "---------------------------------------"