Skip to content

Commit a29e33e

Browse files
committed
Migrate from old Parity GitLab binaries to GitHub release binaries
1 parent e7bf2c7 commit a29e33e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/examples.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,13 @@ jobs:
6161

6262
- name: Download and run latest `substrate-contracts-node` binary
6363
if: matrix.os == 'macOS-latest'
64+
env:
65+
CONTRACTS_NODE_URL: https://github.com/paritytech/substrate-contracts-node/releases/latest/download/substrate-contracts-node-
66+
CONTRACTS_NODE_OS: mac-universal
6467
run: |
65-
curl -L -o substrate-contracts-node.zip 'https://gitlab.parity.io/parity/mirrors/substrate-contracts-node/-/jobs/artifacts/main/download?job=build-mac' && \
68+
curl -L -o substrate-contracts-node.tar.gz "$CONTRACTS_NODE_URL$CONTRACTS_NODE_OS.tar.gz" && \
69+
tar xfzv substrate-contracts-node.tar.gz && \
70+
chmod +x artifacts/substrate-contracts-node-*/substrate-contracts-node && \
6671
unzip substrate-contracts-node.zip && \
6772
chmod +x artifacts/substrate-contracts-node-mac/substrate-contracts-node &&
6873
./artifacts/substrate-contracts-node-mac/substrate-contracts-node -linfo,runtime::contracts=debug 2>&1 | tee /tmp/contracts-node.log &

0 commit comments

Comments
 (0)