File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed
Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 113113
114114if [[ -n " ${ADDER:- } " ]]; then
115115 ARGS+=(-e " ADDER=${ADDER} " )
116- ARGS+=(-e " ADDER_METADATA=/contracts/adder/target/ink/metadata .json" )
116+ ARGS+=(-e " ADDER_METADATA=/contracts/adder/target/ink/adder .json" )
117117fi
118118
119119if [[ -n " ${OUT_LATENCY:- } " ]]; then
Original file line number Diff line number Diff line change 2323 id : vars
2424 shell : bash
2525 run : |
26- echo "##[set-output name= branch;]$(echo $ {GITHUB_REF##*/})"
27- echo "::set-output name= sha_short:: $(git rev-parse --short HEAD)"
26+ echo "branch=$ {GITHUB_REF##*/}" >> $GITHUB_OUTPUT
27+ echo "sha_short= $(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2828
2929 - name : Configure AWS credentials
3030 uses : aws-actions/configure-aws-credentials@v1
4040 registry : public.ecr.aws
4141 username : ${{ secrets.AWS_MAINNET_ACCESS_KEY_ID }}
4242 password : ${{ secrets.AWS_MAINNET_SECRET_ACCESS_KEY }}
43- env :
44- AWS_REGION : us-east-1
4543
4644 - name : Tag and push image for Testnet
4745 env :
8280 - name : S3 CI | Download release runtime from S3 bucket
8381 shell : bash
8482 env :
85- S3BUCKET_URL : s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.get_branch .outputs.sha_short }}/aleph-runtime
86- S3BUCKET_FILE : aleph-runtime-${{ steps.get_branch .outputs.sha_short }}.tar.gz
83+ S3BUCKET_URL : s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.vars .outputs.sha_short }}/aleph-runtime
84+ S3BUCKET_FILE : aleph-runtime-${{ steps.vars .outputs.sha_short }}.tar.gz
8785 run : |
8886 aws s3 cp ${{ env.S3BUCKET_URL }}/${{ env.S3BUCKET_FILE }} ${{ env.S3BUCKET_FILE }}
8987
9290 if : startsWith(github.ref, 'refs/tags/')
9391 with :
9492 files : |
95- aleph-runtime-${{ steps.get_branch .outputs.sha_short }}.tar.gz
93+ aleph-runtime-${{ steps.vars .outputs.sha_short }}.tar.gz
9694
9795 - name : GIT | Checkout aleph-apps repo
9896 uses : actions/checkout@master
Original file line number Diff line number Diff line change @@ -586,10 +586,7 @@ jobs:
586586 uses : actions/checkout@v2
587587
588588 - name : Install cargo-contract
589- uses : baptiste0928/cargo-install@v1
590- with :
591- crate : cargo-contract
592- version : " 2.0.0-beta.1"
589+ run : cargo install cargo-contract --version 2.0.0-beta.1
593590
594591 - name : Install rust-src
595592 working-directory : ./contracts
You can’t perform that action at this time.
0 commit comments