aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-12-11 10:21:44 +0100
committerGravatar GitHub <[email protected]>2020-12-11 10:21:44 +0100
commitb691aedb81a7cc35067f4ddfda0127d7ca86af6a (patch)
tree3debbb2b97f7a84ae94afe2b56a4fcd66a0e91c9
parentSkip status embed for skipped Build workflow (diff)
Make sure PR artifacts are always uploaded
We need to upload PR artifacts regardless of our lint job failing. As GitHub Actions uses an implicit "success" status function if you don't specify one of your own, we need to include the "always" function in our condition.
-rw-r--r--.github/workflows/lint.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index c0822e7f..a5f45255 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -107,7 +107,7 @@ jobs:
# `continue-on-error` conclusion is applied, we use the
# `.outcome` value. This step also fails silently.
- name: Upload a Build Artifact
- if: steps.prepare-artifact.outcome == 'success'
+ if: always() && steps.prepare-artifact.outcome == 'success'
continue-on-error: true
uses: actions/upload-artifact@v2
with: