update workflows

This commit is contained in:
minenice55 2024-01-25 16:15:45 -05:00
parent 434c4845d7
commit bd4147b966
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ jobs:
# Upload artifact (Unity_v20XX.X.XXXX.alf) # Upload artifact (Unity_v20XX.X.XXXX.alf)
- name: Expose as artifact - name: Expose as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: ${{ steps.getManualLicenseFile.outputs.filePath }} name: ${{ steps.getManualLicenseFile.outputs.filePath }}
path: ${{ steps.getManualLicenseFile.outputs.filePath }} path: ${{ steps.getManualLicenseFile.outputs.filePath }}

View file

@ -35,12 +35,12 @@ jobs:
swap-storage: false swap-storage: false
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
# with: # with:
# lfs: true # lfs: true
# Cache reused Library files to speed up compilation # Cache reused Library files to speed up compilation
- uses: actions/cache@v3 - uses: actions/cache@v4.0.0
with: with:
path: Library path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
@ -56,7 +56,7 @@ jobs:
# githubToken: ${{ secrets.GITHUB_TOKEN }} # githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Build project - name: Build project
uses: game-ci/unity-builder@v2 uses: game-ci/unity-builder@v4
env: env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}