We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33de34 commit 7f663e5Copy full SHA for 7f663e5
.github/workflows/conda-build.yml
@@ -182,7 +182,14 @@ jobs:
182
else
183
export BLD_ARTIFACT_PREFIX="conda_pkgs"
184
fi
185
- ./.scripts/create_conda_build_artifacts.sh
+ # we do not want to trigger artefact creation if the job is cancelled;
186
+ # gate this on either explicit success or failure
187
+ if [ $JOB_STATUS == "failure" || $JOB_STATUS == "success" ]; then
188
+ ./.scripts/create_conda_build_artifacts.sh
189
+ else
190
+ # skips upload steps below, which are gated on preparation success
191
+ exit 1
192
+ fi
193
194
- name: Store conda build artifacts
195
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
0 commit comments