Skip to content

Commit b6c3871

Browse files
committed
COMP: Workaround actions/checkout limitation
This addresses the following error: Error: Repository path '/home/runner/work/SlicerDMRI/Slicer' is not under '/home/runner/work/SlicerDMRI/SlicerDMRI' See actions/checkout#197
1 parent 1b1e625 commit b6c3871

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ jobs:
3333
uses: actions/checkout@v3
3434
with:
3535
repository: Slicer/Slicer
36-
path: ${{ github.workspace }}/../../Slicer
36+
path: ${{ github.workspace }}/Slicer
37+
38+
# Workaround issue https://github.com/actions/checkout/issues/197 preventing
39+
# the checkout outside of the GitHub workspace.
40+
- name: Finalize Slicer checkout
41+
run: |
42+
mv ${{ github.workspace }}/Slicer ${{ github.workspace }}/../../Slicer
3743
3844
- id: slicer-build
3945
name: Build Slicer

0 commit comments

Comments
 (0)