Skip to content

Commit

Permalink
Merge pull request #324 from AArnott/publishArtifactsOnCancel
Browse files Browse the repository at this point in the history
Do not publish artifacts on cancelled GitHub workflows
  • Loading branch information
AArnott authored Dec 23, 2024
2 parents 94eba4a + 275a44b commit aa130d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
shell: pwsh
- name: 📢 Publish artifacts
uses: ./.github/actions/publish-artifacts
if: always()
if: cancelled() == false
- name: 📢 Publish code coverage results to codecov.io
run: ./azure-pipelines/publish-CodeCov.ps1 -CodeCovToken "${{ env.codecov_token }}" -PathToCodeCoverage "${{ runner.temp }}/_artifacts/coverageResults" -Name "${{ runner.os }} Coverage Results" -Flags "${{ runner.os }}"
shell: pwsh
Expand Down

0 comments on commit aa130d0

Please sign in to comment.