Skip to content

Commit e1a8151

Browse files
chore: update build paths in GitHub Actions workflow to use github.workspace
1 parent 52ed9cb commit e1a8151

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
env:
3434
CXX: g++-14
3535
- name: Build Target
36-
run: cmake --build build --config Release
36+
run: cmake --build ${{ github.workspace }}/build --config Release
3737
- name: Verify Executable Production
38-
run: ls -l build/vectorjs
38+
run: ls -l ${{ github.workspace }}/build/vectorjs
3939

4040
build-windows:
4141
name: Build on Windows
@@ -58,7 +58,7 @@ jobs:
5858
-DCMAKE_C_COMPILER_LAUNCHER=ccache
5959
- name: Verify Executable Production
6060
shell: pwsh
61-
run: Test-Path "build/Release/vectorjs.exe"
61+
run: Test-Path "${{ github.workspace }}/build/Release/vectorjs.exe"
6262

6363
build-mac:
6464
name: Build on macOS
@@ -80,4 +80,4 @@ jobs:
8080
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
8181
-DCMAKE_C_COMPILER_LAUNCHER=ccache
8282
- name: Verify Executable Production
83-
run: ls -l build/vectorjs
83+
run: ls -l ${{ github.workspace }}/build/vectorjs

0 commit comments

Comments
 (0)