mirror of
https://github.com/fluencelabs/aquavm
synced 2025-03-15 20:40:50 +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
|
path-to-lcov: lcov.info
|
||||||
|
|
||||||
- name: Archive code coverage results
|
- 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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: code-coverage-report.zip
|
name: code-coverage-report.zip
|
||||||
@ -82,7 +82,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload test report
|
- name: Upload test report
|
||||||
uses: dorny/test-reporter@v1
|
uses: dorny/test-reporter@v1
|
||||||
if: success() || failure()
|
if: (success() || failure()) && !github.event.pull_request.head.repo.fork
|
||||||
with:
|
with:
|
||||||
name: aquavm report
|
name: aquavm report
|
||||||
path: target/nextest/ci/junit.xml
|
path: target/nextest/ci/junit.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user