Skip to content
Snippets Groups Projects
Unverified Commit 75e79fad authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

ci: fix node-bench-regression-guard for master (#6589)

Closes https://github.com/paritytech/ci_cd/issues/1067
parent 6da7d36e
Branches
No related merge requests found
Pipeline #506793 waiting for manual action with stages
in 46 minutes and 59 seconds
......@@ -165,12 +165,14 @@ jobs:
- name: Download artifact (master run)
uses: actions/download-artifact@v4.1.8
continue-on-error: true
with:
name: cargo-check-benches-master-${{ github.sha }}
path: ./artifacts/master
- name: Download artifact (current run)
uses: actions/download-artifact@v4.1.8
continue-on-error: true
with:
name: cargo-check-benches-current-${{ github.sha }}
path: ./artifacts/current
......@@ -183,6 +185,12 @@ jobs:
exit 0
fi
# fail if no artifacts
if [ ! -d ./artifacts/master ] || [ ! -d ./artifacts/current ]; then
echo "No artifacts found"
exit 1
fi
docker run --rm \
-v $PWD/artifacts/master:/artifacts/master \
-v $PWD/artifacts/current:/artifacts/current \
......
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