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