Merge pull request #8 from game-ci/update-versions
Add links to related releases and update actions to lastest ones
This commit is contained in:
commit
e3c45bf2b4
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -6,7 +6,6 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
UNITY_VERSION: 2020.1.7f1
|
|
||||||
PROJECT_PATH: .
|
PROJECT_PATH: .
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -30,7 +29,8 @@ jobs:
|
|||||||
# Request manual activation file
|
# Request manual activation file
|
||||||
- name: Request manual activation file
|
- name: Request manual activation file
|
||||||
id: getManualLicenseFile
|
id: getManualLicenseFile
|
||||||
uses: webbertakken/unity-request-manual-activation-file@main
|
# https://github.com/game-ci/unity-request-activation-file/releases/
|
||||||
|
uses: game-ci/unity-request-manual-activation-file@v2.0-alpha-1
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ env.UNITY_VERSION }}
|
unityVersion: ${{ env.UNITY_VERSION }}
|
||||||
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
||||||
@ -56,14 +56,15 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
Library-test-project-
|
Library-test-project-
|
||||||
Library-
|
Library-
|
||||||
- uses: webbertakken/unity-test-runner@v1.7
|
# https://github.com/game-ci/unity-test-runner/releases/
|
||||||
|
- uses: game-ci/unity-test-runner@v2.0-alpha-2
|
||||||
id: testRunner
|
id: testRunner
|
||||||
with:
|
with:
|
||||||
projectPath: ${{ env.PROJECT_PATH }}
|
projectPath: ${{ env.PROJECT_PATH }}
|
||||||
unityVersion: ${{ env.UNITY_VERSION }}
|
unityVersion: ${{ env.UNITY_VERSION }}
|
||||||
testMode: all
|
testMode: all
|
||||||
customParameters: "-nographics"
|
customParameters: "-nographics"
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Test results (all modes)
|
name: Test results (all modes)
|
||||||
path: ${{ steps.testRunner.outputs.artifactsPath }}
|
path: ${{ steps.testRunner.outputs.artifactsPath }}
|
||||||
@ -78,8 +79,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
targetPlatform:
|
targetPlatform:
|
||||||
- StandaloneOSX
|
- StandaloneOSX
|
||||||
|
- StandaloneWindows
|
||||||
- StandaloneWindows64
|
- StandaloneWindows64
|
||||||
- StandaloneLinux64
|
- StandaloneLinux64
|
||||||
|
- iOS
|
||||||
|
- Android
|
||||||
|
# See https://github.com/game-ci/docker/issues/53 webgl will be supported in editor image v0.9
|
||||||
|
# - WebGL
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -91,12 +97,13 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
Library-${{ matrix.projectPath }}-
|
Library-${{ matrix.projectPath }}-
|
||||||
Library-
|
Library-
|
||||||
- uses: webbertakken/unity-builder@v2.0-aplha-5
|
# https://github.com/game-ci/unity-builder/releases/
|
||||||
|
- uses: game-ci/unity-builder@v2.0-alpha-6
|
||||||
with:
|
with:
|
||||||
projectPath: ${{ env.PROJECT_PATH }}
|
projectPath: ${{ env.PROJECT_PATH }}
|
||||||
unityVersion: ${{ env.UNITY_VERSION }}
|
unityVersion: ${{ env.UNITY_VERSION }}
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Build
|
name: Build-${{ matrix.targetPlatform }}
|
||||||
path: build
|
path: build
|
||||||
|
Loading…
Reference in New Issue
Block a user