Unverified Commit f0063c27 authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

CI: return needs (#3625)

parent 63a4d8b4
Pipeline #152366 passed with stages
in 38 minutes and 34 seconds
...@@ -144,7 +144,7 @@ test-build-linux-stable: ...@@ -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: ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment