Skip to content

Commit 3d272ab

Browse files
committed
chore: fix build path
1 parent 7b43934 commit 3d272ab

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
with:
7979
unityVersion: 2021.3.26f1
8080
targetPlatform: ${{ matrix.targetPlatform }}
81-
projectPath: './sample'
81+
projectPath: sample
8282
- name: Deploy to GitHub Pages
8383
uses: JamesIves/[email protected]
8484
if: matrix.targetPlatform == 'WebGL'

.github/workflows/ui-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
include:
2121
- targetPlatform: StandaloneOSX
2222
buildMethod: MacBuilder.BuildForAltTester
23+
buildPath: MacOS
2324
- targetPlatform: StandaloneWindows64
2425
buildMethod: WindowsBuilder.BuildForAltTester
26+
buildPath: Windows64
2527
steps:
2628
- uses: actions/checkout@v3
2729
with:
@@ -44,24 +46,24 @@ jobs:
4446
projectPath: sample
4547
buildMethod: ${{ matrix.buildMethod }}
4648
customParameters: -logFile logFile.log -quit -batchmode
49+
- name: List build directory
50+
run: ls -R sample/Builds/
4751
- name: Upload artifact
4852
uses: actions/upload-artifact@v4
4953
with:
5054
name: Build-${{ matrix.targetPlatform }}
51-
path: build
55+
path: sample/Builds/${{ matrix.buildPath }}
5256
test:
53-
name: Run UI tests on AltTester 🧪
57+
name: Run ${{ matrix.targetPlatform }} UI tests 🧪
5458
needs: build
5559
strategy:
5660
matrix:
5761
include:
5862
- targetPlatform: StandaloneOSX
5963
runs-on: [self-hosted, macOS]
60-
artifact: Build-StandaloneOSX
6164
test_script: test_mac.sh
6265
- targetPlatform: StandaloneWindows64
6366
runs-on: [self-hosted, windows]
64-
artifact: Build-StandaloneWindows64
6567
test_script: test_windows.ps1
6668
runs-on: ${{ matrix.runs-on }}
6769
steps:
@@ -70,7 +72,7 @@ jobs:
7072
lfs: true
7173
- uses: actions/download-artifact@v4
7274
with:
73-
name: ${{ matrix.artifact }}
75+
name: Build-${{ matrix.targetPlatform }}
7476
- uses: actions/setup-python@v4
7577
with:
7678
python-version: "3.10"

0 commit comments

Comments
 (0)