use different library caches for each OS
Some checks failed
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneLinux64, 6000.0.37f1) (push) Failing after 1h6m35s
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneWindows64, 6000.0.37f1) (push) Failing after 20m45s
Some checks failed
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneLinux64, 6000.0.37f1) (push) Failing after 1h6m35s
Build project / Build for ${{ matrix.targetPlatform }} (${{ matrix.unityVersion }}) (StandaloneWindows64, 6000.0.37f1) (push) Failing after 20m45s
This commit is contained in:
parent
acd21e3458
commit
7b605145ff
@ -29,12 +29,22 @@ jobs:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
|
||||
- name: Clean Library and Build folder
|
||||
run: |
|
||||
rm -rf Library
|
||||
rm -rf build
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
||||
key: Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
Library-
|
||||
Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
||||
Library-
|
||||
|
||||
- name: Debug - List project files
|
||||
run: |
|
||||
ls -R
|
||||
|
||||
- uses: https://github.com/game-ci/unity-builder@v4
|
||||
env:
|
||||
@ -46,6 +56,7 @@ jobs:
|
||||
runAsHostUser: true
|
||||
unityVersion: ${{ matrix.unityVersion }}
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
#customParameters: -logFile /dev/stdout -batchmode -nographics -quit
|
||||
|
||||
- name: Zip build artifacts
|
||||
run: |
|
||||
@ -74,11 +85,11 @@ jobs:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
with:
|
||||
server_url: ${{ github.server_url }}
|
||||
tag_name: ${{ github.sha }}
|
||||
name: Release ${{ github.sha }}
|
||||
tag_name: ${{ github.sha | substring(0, 7) }}
|
||||
name: Release ${{ github.sha | substring(0, 7) }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
files: |
|
||||
/tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||
md5sum: true
|
||||
sha256sum: true
|
||||
sha256sum: false
|
Loading…
Reference in New Issue
Block a user