Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pyushkevich authored Oct 4, 2024
1 parent d3e3b7d commit d6c8f59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ jobs:

# Checkout ITK-SNAP code
- name: Checkout code
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }}
uses: actions/checkout@v4
with:
submodules: true
Expand All @@ -199,6 +200,7 @@ jobs:

# Configure ITK-SNAP
- name: Configure ITK-SNAP
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }}
uses: threeal/[email protected]
continue-on-error: true
with:
Expand All @@ -218,6 +220,7 @@ jobs:
# Build ITK-SNAP using CDash
- name: Build and Test ITK-SNAP
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }}
working-directory: ${{github.workspace}}/itksnap/build
run: |
${{ matrix.test_pref }} ctest -D ExperimentalStart
Expand All @@ -228,6 +231,7 @@ jobs:
# Cache the ITK-SNAP build
- name: Cache ITK-SNAP build directory
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }}
uses: actions/cache/save@v4
with:
path: ${{github.workspace}}/itksnap
Expand All @@ -237,7 +241,7 @@ jobs:
- name: Package ITK-SNAP
working-directory: ${{github.workspace}}/itksnap/build
run: |
cmake --build -t package
cmake --build -- -t package
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down

0 comments on commit d6c8f59

Please sign in to comment.