Update workflow to use with instead of env
parent
b369aeec67
commit
b3a01c2826
|
@ -54,10 +54,9 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
env:
|
testMode: all
|
||||||
TEST_MODE: all
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
# Test implicit artifactsPath, by not setting it
|
||||||
# Test implicit ARTIFACTS_PATH, by not setting it
|
|
||||||
|
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
|
@ -99,10 +98,9 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
env:
|
testMode: editmode
|
||||||
TEST_MODE: editmode
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
artifactsPath: artifacts/editmode
|
||||||
ARTIFACTS_PATH: artifacts/editmode
|
|
||||||
|
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
|
@ -144,10 +142,9 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
env:
|
testMode: playmode
|
||||||
TEST_MODE: playmode
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
artifactsPath: artifacts/playmode
|
||||||
ARTIFACTS_PATH: artifacts/editmode
|
|
||||||
|
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
|
@ -188,20 +185,18 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
env:
|
testMode: editmode
|
||||||
TEST_MODE: editmode
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
artifactsPath: artifacts/editmode
|
||||||
ARTIFACTS_PATH: artifacts/editmode
|
|
||||||
|
|
||||||
# Configure second test runner
|
# Configure second test runner
|
||||||
- name: Tests in playmode 📺
|
- name: Tests in playmode 📺
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
env:
|
testMode: playmode
|
||||||
TEST_MODE: playmode
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
artifactsPath: artifacts/playmode
|
||||||
ARTIFACTS_PATH: artifacts/playmode
|
|
||||||
|
|
||||||
# Upload combined artifacts
|
# Upload combined artifacts
|
||||||
- name: Upload combined test results
|
- name: Upload combined test results
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Set and display project path
|
# Set and display project path
|
||||||
#
|
#
|
||||||
|
|
||||||
UNITY_PROJECT_PATH=$GITHUB_WORKSPACE/$PROJECT_PATH
|
UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH"
|
||||||
echo "Using project path \"$UNITY_PROJECT_PATH\"."
|
echo "Using project path \"$UNITY_PROJECT_PATH\"."
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue