Update workflows
This commit is contained in:
+11
-12
@@ -30,10 +30,10 @@ jobs:
|
||||
- name: Request manual activation file
|
||||
id: getManualLicenseFile
|
||||
# https://github.com/game-ci/unity-request-activation-file/releases/
|
||||
uses: game-ci/unity-request-activation-file@v2.0-alpha-1
|
||||
uses: game-ci/unity-request-activation-file@v2
|
||||
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
||||
- name: Expose as artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
||||
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
||||
@@ -44,10 +44,10 @@ jobs:
|
||||
name: Test all modes ✨
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
- uses: actions/cache@v2.1.3
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: Library
|
||||
key: Library-test-project-${{ matrix.targetPlatform }}
|
||||
@@ -55,13 +55,13 @@ jobs:
|
||||
Library-test-project-
|
||||
Library-
|
||||
# https://github.com/game-ci/unity-test-runner/releases/
|
||||
- uses: game-ci/unity-test-runner@v2.0-alpha-2
|
||||
- uses: game-ci/unity-test-runner@v2
|
||||
id: testRunner
|
||||
with:
|
||||
projectPath: ${{ env.PROJECT_PATH }}
|
||||
testMode: all
|
||||
customParameters: "-nographics"
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Test results (all modes)
|
||||
path: ${{ steps.testRunner.outputs.artifactsPath }}
|
||||
@@ -81,13 +81,12 @@ jobs:
|
||||
- StandaloneLinux64
|
||||
- iOS
|
||||
- Android
|
||||
# See https://github.com/game-ci/docker/issues/53 webgl will be supported in editor image v0.9
|
||||
# - WebGL
|
||||
- WebGL
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
- uses: actions/cache@v2.1.3
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ matrix.projectPath }}/Library
|
||||
key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
|
||||
@@ -95,11 +94,11 @@ jobs:
|
||||
Library-${{ matrix.projectPath }}-
|
||||
Library-
|
||||
# https://github.com/game-ci/unity-builder/releases/
|
||||
- uses: game-ci/unity-builder@v2.0-alpha-6
|
||||
- uses: game-ci/unity-builder@v2
|
||||
with:
|
||||
projectPath: ${{ env.PROJECT_PATH }}
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Build-${{ matrix.targetPlatform }}
|
||||
path: build
|
||||
|
||||
Reference in New Issue
Block a user