Skip to content

Commit abf65be

Browse files
Merge branch 'master' into fix/codeql-configuration
2 parents 38e9782 + 9685bfd commit abf65be

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/unity-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
projectPath: ${{ inputs.project_path }}
6161
unityVersion: ${{ inputs.unity_version }}
6262
testMode: EditMode
63+
artifactsPath: artifacts/EditMode
6364
githubToken: ${{ secrets.GITHUB_TOKEN }}
6465
checkName: EditMode Test Results
6566

@@ -76,6 +77,7 @@ jobs:
7677
projectPath: ${{ inputs.project_path }}
7778
unityVersion: ${{ inputs.unity_version }}
7879
testMode: PlayMode
80+
artifactsPath: artifacts/PlayMode
7981
githubToken: ${{ secrets.GITHUB_TOKEN }}
8082
checkName: PlayMode Test Results
8183

@@ -85,15 +87,17 @@ jobs:
8587
uses: actions/upload-artifact@v4
8688
with:
8789
name: EditMode-results-${{ inputs.unity_version }}
88-
path: ${{ inputs.project_path }}/artifacts/EditMode
90+
path: artifacts/EditMode
91+
if-no-files-found: warn
8992
retention-days: 14
9093

9194
- name: Upload PlayMode test results
9295
if: always() && (inputs.test_mode == 'All' || inputs.test_mode == 'PlayMode')
9396
uses: actions/upload-artifact@v4
9497
with:
9598
name: PlayMode-results-${{ inputs.unity_version }}
96-
path: ${{ inputs.project_path }}/artifacts/PlayMode
99+
path: artifacts/PlayMode
100+
if-no-files-found: warn
97101
retention-days: 14
98102

99103
# Generate test summary

0 commit comments

Comments
 (0)