[CI] Upload build cache before running tests

This commit is contained in:
A Thousand Ships
2024-07-13 17:43:37 +02:00
parent cfc4a0eff0
commit 078210bce1
9 changed files with 71 additions and 19 deletions

View File

@ -78,8 +78,8 @@ jobs:
sudo rm -rf /usr/local/lib/android
echo "Disk usage after:" && df -h
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache
- name: Restore Godot build cache
uses: ./.github/actions/godot-cache-restore
with:
cache-name: ${{ matrix.cache-name }}
continue-on-error: true
@ -98,6 +98,12 @@ jobs:
target: ${{ matrix.target }}
tools: ${{ matrix.tools }}
- name: Save Godot build cache
uses: ./.github/actions/godot-cache-save
with:
cache-name: ${{ matrix.cache-name }}
continue-on-error: true
# Generate mono glue
- name: Generate Mono glue code
if: ${{ matrix.build-mono }}