Skip to content

Commit

Permalink
github: actions: Fix absolute path for docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Aug 30, 2024
1 parent fead487 commit 2b71fc9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Host Absolute Workspace Path
run: |
echo "${{ github.workspace }}" >> abs-path
cat abs-path
- name: Build ${{ matrix.project.folder }} Dockerfile
shell: pwsh
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-debug-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Host Absolute Workspace Path
run: |
echo "${{ github.workspace }}" >> abs-path
cat abs-path
- name: Build ${{ matrix.project.folder }} Dockerfile
shell: pwsh
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-debug-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Host Absolute Workspace Path
run: |
echo "${{ github.workspace }}" >> abs-path
cat abs-path
- name: Build ${{ matrix.project.folder }} Dockerfile
shell: pwsh
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Host Absolute Workspace Path
run: |
echo "${{ github.workspace }}" >> abs-path
cat abs-path
- name: Build ${{ matrix.project.folder }} Dockerfile
shell: pwsh
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Host Absolute Workspace Path
run: |
echo "${{ github.workspace }}" >> abs-path
cat abs-path
- name: Build ${{ matrix.project.folder }} Dockerfile
shell: pwsh
env:
Expand Down

0 comments on commit 2b71fc9

Please sign in to comment.