Skip to content

Commit

Permalink
COMP: Workaround actions/checkout limitation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jcfr committed Aug 2, 2023
1 parent 1b1e625 commit b6c3871
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,13 @@ jobs:
uses: actions/checkout@v3
with:
repository: Slicer/Slicer
path: ${{ github.workspace }}/../../Slicer
path: ${{ github.workspace }}/Slicer

# Workaround issue https://github.com/actions/checkout/issues/197 preventing
# the checkout outside of the GitHub workspace.
- name: Finalize Slicer checkout
run: |
mv ${{ github.workspace }}/Slicer ${{ github.workspace }}/../../Slicer
- id: slicer-build
name: Build Slicer

0 comments on commit b6c3871

Please sign in to comment.