8000 CI: let the artifact upload retry actually retry by fedorov · Pull Request #562 · QIICR/dcmqi · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/cmake-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ jobs:
- name: "Upload package as artifact (retry)"
if: steps.upload-artifact.outcome == 'failure'
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: dcmqi-linux-package
path: build/dcmqi-build/dcmqi-*-linux*.tar.gz
overwrite: true

- name: "Publish linux package"
# Publish tagged (stable) releases only. The rolling "latest" prerelease is
Expand Down Expand Up @@ -328,9 +330,11 @@ jobs:
- name: "Upload package as artifact (retry)"
if: steps.upload-artifact.outcome == 'failure'
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: dcmqi-linux-arm64-package
path: dcmqi-build/dcmqi-build/dcmqi-*-linux-arm64*.tar.gz
overwrite: true

# Save the dependency cache only when the build step itself succeeded. This keeps the
# original intent -- cache the deps even if a *later* step (test, package) fails -- while
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cmake-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ jobs:
- name: "Upload package as artifact (retry)"
if: steps.upload-artifact.outcome == 'failure'
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: dcmqi-macos-${{ matrix.arch }}-package
path: ${{ github.workspace }}/dcmqi-build/dcmqi-build/dcmqi-*-mac*.tar.gz
overwrite: true

# Save cache even if a later step (test, package) failed, so deps don't need rebuilding next run
- name: Save DCMTK, ITK and ZLIB cache
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cmake-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ jobs:
- name: "Upload package as artifact (retry)"
if: steps.upload-artifact.outcome == 'failure'
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: dcmqi-build
path: ${{ github.workspace }}\b\dcmqi-build\dcmqi-*-win64*.zip
overwrite: true

# Save cache even if a later step (test, package) failed, so deps don't need rebuilding next run
- name: Save build dependencies cache
Expand Down
0