1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-26 17:27:41 +03:00

cifuzz: upload artifacts only when the "run fuzzers" step fails

This commit is contained in:
Evgeny Vereshchagin 2020-04-29 05:04:56 +00:00 committed by Zbigniew Jędrzejewski-Szmek
parent db1442260a
commit 9494b39dac

View File

@ -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