Skip to content
Snippets Groups Projects
Commit 4e89b6ad authored by Denis_P's avatar Denis_P :field_hockey: Committed by GitHub
Browse files

CI: return needs (#3625)

parent 0e686957
No related merge requests found
......@@ -144,7 +144,7 @@ test-build-linux-stable:
# we're using the bin built here, instead of having a parallel `build-linux-release`
- time cargo build --release --verbose --bin polkadot
- sccache -s
# pack-artifacts
# pack artifacts
- mkdir -p ./artifacts
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
- mv ./target/release/polkadot ./artifacts/.
......@@ -430,6 +430,11 @@ publish-rustdoc:
rules:
- if: $CI_PIPELINE_SOURCE == "web" && $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:
- rm -rf /tmp/*
# Set git config
......
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