[ci] small fixes (#1196)

This commit is contained in:
Alexander Samusev
2022-04-21 17:06:18 +02:00
committed by GitHub
parent 2317ef00df
commit e6cd39f4c3
+2 -2
View File
@@ -202,7 +202,7 @@ benchmarks-build:
script: script:
- time cargo build --profile production --locked --features runtime-benchmarks - time cargo build --profile production --locked --features runtime-benchmarks
- mkdir artifacts - mkdir artifacts
- cp $CARGO_TARGET_DIR/production/polkadot-collator ./artifacts/ - cp target/production/polkadot-collator ./artifacts/
benchmarks: benchmarks:
stage: benchmarks-run stage: benchmarks-run
@@ -220,7 +220,7 @@ benchmarks:
- rm -rf .git/config - rm -rf .git/config
- git config --global user.email "${GITHUB_EMAIL}" - git config --global user.email "${GITHUB_EMAIL}"
- git config --global user.name "${GITHUB_USER}" - git config --global user.name "${GITHUB_USER}"
- git config remote.origin.url "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com:/paritytech/${CI_PROJECT_NAME}.git" - git config remote.origin.url "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/paritytech/${CI_PROJECT_NAME}.git"
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
# push results to github # push results to github
- git checkout -b $BRANCHNAME - git checkout -b $BRANCHNAME