Update workflows
This commit is contained in:
parent
4f93c26225
commit
2d9d5cc42f
18
.github/workflows/activation.yml
vendored
18
.github/workflows/activation.yml
vendored
@ -1,18 +0,0 @@
|
||||
name: Acquire activation file
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
jobs:
|
||||
activation:
|
||||
name: Request manual activation file 🔑
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Request manual activation file
|
||||
- name: Request manual activation file
|
||||
id: getManualLicenseFile
|
||||
uses: game-ci/unity-request-activation-file@v2
|
||||
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
||||
- name: Expose as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
||||
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user