mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 07:31:08 +00:00
CI: return needs (#3625)
This commit is contained in:
@@ -144,7 +144,7 @@ test-build-linux-stable:
|
|||||||
# we're using the bin built here, instead of having a parallel `build-linux-release`
|
# we're using the bin built here, instead of having a parallel `build-linux-release`
|
||||||
- time cargo build --release --verbose --bin polkadot
|
- time cargo build --release --verbose --bin polkadot
|
||||||
- sccache -s
|
- sccache -s
|
||||||
# pack-artifacts
|
# pack artifacts
|
||||||
- mkdir -p ./artifacts
|
- mkdir -p ./artifacts
|
||||||
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
|
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
|
||||||
- mv ./target/release/polkadot ./artifacts/.
|
- mv ./target/release/polkadot ./artifacts/.
|
||||||
@@ -430,6 +430,11 @@ publish-rustdoc:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master"
|
- if: $CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master"
|
||||||
- if: $CI_COMMIT_REF_NAME == "master"
|
- if: $CI_COMMIT_REF_NAME == "master"
|
||||||
|
# `needs:` can be removed after CI image gets nonroot. In this case `needs:` stops other
|
||||||
|
# artifacts from being dowloaded by this job.
|
||||||
|
needs:
|
||||||
|
- job: build-rustdoc
|
||||||
|
artifacts: true
|
||||||
script:
|
script:
|
||||||
- rm -rf /tmp/*
|
- rm -rf /tmp/*
|
||||||
# Set git config
|
# Set git config
|
||||||
|
|||||||
Reference in New Issue
Block a user