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 8, 2024
1 parent 1040c17 commit d0a9b18
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,27 @@ jobs:
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

# Add libcurl.dll to PATH on windows
- name: Append directory with libcurl.dll to PATH
if: runner.os == 'Windows'
run: |
echo ${{github.workspace}}/vcpkg/installed/x64-windows-release/bin >> $GITHUB_PATH
# Package ITK-SNAP
- name: Package ITK-SNAP
id: package_itksnap
continue-on-error: true
working-directory: ${{github.workspace}}/itksnap/build
run: |
ninja -v package
PACKAGE_FILE=$(jq -r '.filename' ${{github.workspace}}/itksnap/build/package_info.json)
echo "::set-output name=package_file::$PACKAGE_FILE"
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{steps.package_itksnap.outputs.package_file}}
path: ${{github.workspace}}/itksnap/build/${{steps.package_itksnap.outputs.package_file}}



Expand Down

0 comments on commit d0a9b18

Please sign in to comment.