mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-29 04:32:04 +08:00
Upgrade to latest test-runner and builder
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -26,14 +26,14 @@ jobs:
|
|||||||
|
|
||||||
# Test
|
# Test
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: webbertakken/unity-test-runner@v1.2
|
uses: webbertakken/unity-test-runner@v1.3
|
||||||
with:
|
with:
|
||||||
projectPath: test-project
|
projectPath: test-project
|
||||||
unityVersion: 2019.2.11f1
|
unityVersion: 2019.2.11f1
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
- name: Build project
|
- name: Build project
|
||||||
uses: webbertakken/unity-builder@v0.9
|
uses: webbertakken/unity-builder@v0.10
|
||||||
with:
|
with:
|
||||||
projectPath: test-project
|
projectPath: test-project
|
||||||
unityVersion: 2019.2.11f1
|
unityVersion: 2019.2.11f1
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
Library-
|
Library-
|
||||||
|
|
||||||
# Configure test runner
|
# Configure test runner
|
||||||
- uses: webbertakken/unity-test-runner@v1.2
|
- uses: webbertakken/unity-test-runner@v1.3
|
||||||
id: testRunner
|
id: testRunner
|
||||||
with:
|
with:
|
||||||
projectPath: test-project
|
projectPath: test-project
|
||||||
@@ -143,9 +143,9 @@ jobs:
|
|||||||
Library-
|
Library-
|
||||||
|
|
||||||
# Configure test runner
|
# Configure test runner
|
||||||
- uses: webbertakken/unity-test-runner@v1.2
|
- uses: webbertakken/unity-test-runner@v1.3
|
||||||
id: testRunner
|
id: testRunner
|
||||||
env:
|
with:
|
||||||
projectPath: test-project
|
projectPath: test-project
|
||||||
testMode: playmode
|
testMode: playmode
|
||||||
|
|
||||||
@@ -174,7 +174,7 @@ jobs:
|
|||||||
Library-
|
Library-
|
||||||
|
|
||||||
# Configure test runner
|
# Configure test runner
|
||||||
- uses: webbertakken/unity-test-runner@v1.2
|
- uses: webbertakken/unity-test-runner@v1.3
|
||||||
id: testRunner
|
id: testRunner
|
||||||
with:
|
with:
|
||||||
projectPath: test-project
|
projectPath: test-project
|
||||||
@@ -217,7 +217,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
Library-${{ matrix.projectPath }}-
|
Library-${{ matrix.projectPath }}-
|
||||||
Library-
|
Library-
|
||||||
- uses: webbertakken/unity-test-runner@v1.2
|
- uses: webbertakken/unity-test-runner@v1.3
|
||||||
id: testRunner
|
id: testRunner
|
||||||
with:
|
with:
|
||||||
projectPath: ${{ matrix.projectPath }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
@@ -226,7 +226,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Test results (all modes)
|
name: Test results (all modes)
|
||||||
path: ${{ steps.testRunner.outputs.artifactsPath }}
|
path: ${{ steps.testRunner.outputs.artifactsPath }}
|
||||||
- uses: webbertakken/unity-builder@v0.9
|
- uses: webbertakken/unity-builder@v0.10
|
||||||
with:
|
with:
|
||||||
projectPath: ${{ matrix.projectPath }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
|
|||||||
@@ -122,13 +122,13 @@ jobs:
|
|||||||
|
|
||||||
# Test
|
# Test
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: webbertakken/unity-test-runner@v1.2
|
uses: webbertakken/unity-test-runner@v1.3
|
||||||
with:
|
with:
|
||||||
unityVersion: 2019.2.11f1
|
unityVersion: 2019.2.11f1
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
- name: Build project
|
- name: Build project
|
||||||
uses: webbertakken/unity-builder@v0.9
|
uses: webbertakken/unity-builder@v0.10
|
||||||
with:
|
with:
|
||||||
unityVersion: 2019.2.11f1
|
unityVersion: 2019.2.11f1
|
||||||
targetPlatform: WebGL
|
targetPlatform: WebGL
|
||||||
|
|||||||
Reference in New Issue
Block a user