fix artifacts pathing and names

pull/164/head
Aaron Trudeau 2022-02-06 18:58:53 -05:00
parent 5723ea95ef
commit 980e6b77f6
No known key found for this signature in database
GPG Key ID: D6874B046ABF9536
1 changed files with 15 additions and 15 deletions

View File

@ -288,19 +288,19 @@ jobs:
lfs: true lfs: true
- uses: ./ - uses: ./
id: tests id: packageTests
with: with:
projectPath: ${{ matrix.projectPath }} projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }} unityVersion: ${{ matrix.unityVersion }}
testMode: ${{ matrix.testMode }} testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts artifactsPath: ${{ matrix.testMode }}-packageArtifacts
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
packageMode: true packageMode: true
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: Test results for ${{ matrix.testMode }} name: Package test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }} path: ${{ steps.packageTests.outputs.artifactsPath }}
retention-days: 14 retention-days: 14
testPackageRunnerInAllModes: testPackageRunnerInAllModes:
@ -323,7 +323,7 @@ jobs:
# Configure test runner # Configure test runner
- name: Run tests - name: Run tests
id: allTests id: packageAllTests
uses: ./ uses: ./
with: with:
projectPath: ${{ matrix.projectPath }} projectPath: ${{ matrix.projectPath }}
@ -336,8 +336,8 @@ jobs:
- name: Upload test results - name: Upload test results
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Test results (all) name: Package test results (all)
path: ${{ steps.allTests.outputs.artifactsPath }} path: ${{ steps.packageAllTests.outputs.artifactsPath }}
retention-days: 14 retention-days: 14
testPackageRunnerInEditMode: testPackageRunnerInEditMode:
@ -360,7 +360,7 @@ jobs:
# Configure test runner # Configure test runner
- name: Run tests - name: Run tests
id: editMode id: packageEditMode
uses: ./ uses: ./
with: with:
projectPath: ${{ matrix.projectPath }} projectPath: ${{ matrix.projectPath }}
@ -373,8 +373,8 @@ jobs:
- name: Upload test results - name: Upload test results
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Test results (edit mode) name: Package test results (edit mode)
path: ${{ steps.editMode.outputs.artifactsPath }} path: ${{ steps.packageEditMode.outputs.artifactsPath }}
retention-days: 14 retention-days: 14
testPackageRunnerInPlayMode: testPackageRunnerInPlayMode:
@ -397,7 +397,7 @@ jobs:
# Configure test runner # Configure test runner
- name: Run tests - name: Run tests
id: playMode id: packagePlayMode
uses: ./ uses: ./
with: with:
projectPath: ${{ matrix.projectPath }} projectPath: ${{ matrix.projectPath }}
@ -410,8 +410,8 @@ jobs:
- name: Upload test results - name: Upload test results
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Test results (play mode) name: Package test results (play mode)
path: ${{ steps.playMode.outputs.artifactsPath }} path: ${{ steps.packagePlayMode.outputs.artifactsPath }}
retention-days: 14 retention-days: 14
testPackageModeEachModeSequentially: testPackageModeEachModeSequentially:
@ -456,6 +456,6 @@ jobs:
- name: Upload combined test results - name: Upload combined test results
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: Test results (combined) name: Package test results (combined)
path: artifacts/ path: packageArtifacts/
retention-days: 14 retention-days: 14