diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2020-04-29 05:04:56 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-02 11:20:30 +0200 |
commit | 9494b39dac37894628cf5ef405e6bbc18f69bba9 (patch) | |
tree | 3697b6d366c7cfb9ee587ffc701368bcd266d06b | |
parent | db1442260a56963a8aa507787e71b97e5f08f17c (diff) | |
download | systemd-9494b39dac37894628cf5ef405e6bbc18f69bba9.tar.gz |
cifuzz: upload artifacts only when the "run fuzzers" step fails
-rw-r--r-- | .github/workflows/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e30133722a..24715cb950 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build Fuzzers + id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'systemd' @@ -21,7 +22,7 @@ jobs: dry-run: false - name: Upload Crash uses: actions/upload-artifact@v1 - if: failure() + if: failure() && steps.build.outcome == 'success' with: name: artifacts path: ./out/artifacts |