Skip to content

Commit

Permalink
fix: use actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniol0012 committed Dec 10, 2024
1 parent 0ed36e3 commit 5a4ed89
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
targetPlatform: WebGL

# Output
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Build
path: build
Expand All @@ -67,14 +67,14 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Request manual activation file
- uses: game-ci/unity-request-activation-file@v2
id: getManualLicenseFile

# Upload artifact (Unity_v20XX.X.XXXX.alf)
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Manual Activation File
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
Expand All @@ -83,14 +83,14 @@ jobs:
# name: Request activation ✔
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - uses: game-ci/unity-activate@v2
#
# activateAndThenReturnLicense:
# name: returnLicense 🎈
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - uses: game-ci/unity-activate@v2
# - uses: game-ci/unity-return-license@v2

Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
testMode: editmode

# Upload artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Test results (edit mode)
path: ${{ steps.testRunner.outputs.artifactsPath }}
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
testMode: playmode

# Upload artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Test results (play mode)
path: ${{ steps.testRunner.outputs.artifactsPath }}
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
githubToken: ${{ secrets.GITHUB_TOKEN }}

# Upload artifacts
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Test results (${{ matrix.testMode }})
path: ${{ steps.testRunner.outputs.artifactsPath }}
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
id: testRunner
with:
projectPath: ${{ matrix.projectPath }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Test results (all modes)
path: ${{ steps.testRunner.outputs.artifactsPath }}
Expand All @@ -296,7 +296,7 @@ jobs:
projectPath: ${{ matrix.projectPath }}
targetPlatform: ${{ matrix.targetPlatform }}
customParameters: "-myParameter myValue -myBoolean -ThirdParameter andItsValue"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Build (${{ matrix.targetPlatform }})
path: build/${{ matrix.targetPlatform }}

0 comments on commit 5a4ed89

Please sign in to comment.