mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
cifuzz: upload artifacts only when the "run fuzzers" step fails
This commit is contained in:
parent
db1442260a
commit
9494b39dac
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user