mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 23:20:18 +00:00
chore(ci): Do not upload artifacts when fork (#573)
Do not upload artifacts when fork
This commit is contained in:
parent
7d37c36d00
commit
fe08a3846b
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
||||
path-to-lcov: lcov.info
|
||||
|
||||
- name: Archive code coverage results
|
||||
if: inputs.cargo-dependencies == 'null'
|
||||
if: inputs.cargo-dependencies == 'null' && !github.event.pull_request.head.repo.fork
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: code-coverage-report.zip
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
- name: Upload test report
|
||||
uses: dorny/test-reporter@v1
|
||||
if: success() || failure()
|
||||
if: (success() || failure()) && !github.event.pull_request.head.repo.fork
|
||||
with:
|
||||
name: aquavm report
|
||||
path: target/nextest/ci/junit.xml
|
||||
|
Loading…
Reference in New Issue
Block a user