Skip to content

Commit

Permalink
Use absolute paths in Github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mortinger91 committed Aug 6, 2024
1 parent 24bc31d commit 519f129
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
max-size: 1000M
variant: sccache
- name: Configure CMake and build
run: ./projectFolder/scripts/create_release.sh withTests
run: ${{ github.workspace }}/projectFolder/scripts/create_release.sh withTests
- name: Run tests
run: ./projectFolder/scripts/run_tests.sh Release
run: ${{ github.workspace }}/projectFolder/scripts/run_tests.sh Release
- uses: actions/upload-artifact@v3
if: success()
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
max-size: 1000M
variant: sccache
- name: Configure CMake and build
run: ./projectFolder/scripts/create_release.sh withTests
run: ${{ github.workspace }}/projectFolder/scripts/create_release.sh withTests
- name: Run tests
run: ./projectFolder/scripts/run_tests.sh Release
run: ${{ github.workspace }}/projectFolder/scripts/run_tests.sh Release
- uses: actions/upload-artifact@v3
if: success()
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- docker-compose.yml
- Dockerfile
workflow_dispatch:

jobs:
linux:
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
max-size: 1000M
variant: sccache
- name: Configure CMake and build
run: ./projectFolder/scripts/windows/create_release.ps1 withTests
run: ${{ github.workspace }}/projectFolder/scripts/windows/create_release.ps1 withTests
- name: Run tests
run: ./projectFolder/scripts/windows/run_tests.ps1 Release
run: ${{ github.workspace }}/projectFolder/scripts/windows/run_tests.ps1 Release
- uses: actions/upload-artifact@v3
if: success()
with:
Expand Down

0 comments on commit 519f129

Please sign in to comment.