Skip to content

Commit 145dec0

Browse files
authored
Fix call to invalid step output in the deploy-mainnet workflow (#937)
1 parent 548d3c5 commit 145dec0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy-mainnet.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
id: vars
2323
shell: bash
2424
run: |
25-
echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
26-
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
25+
echo "branch=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
26+
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2727
2828
- name: Configure AWS credentials
2929
uses: aws-actions/configure-aws-credentials@v1
@@ -84,8 +84,8 @@ jobs:
8484
- name: S3 CI | Download release runtime from S3 bucket
8585
shell: bash
8686
env:
87-
S3BUCKET_URL: s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.get_branch.outputs.sha_short }}/aleph-runtime
88-
S3BUCKET_FILE: aleph-runtime-${{ steps.get_branch.outputs.sha_short }}.tar.gz
87+
S3BUCKET_URL: s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.vars.outputs.sha_short }}/aleph-runtime
88+
S3BUCKET_FILE: aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
8989
run: |
9090
aws s3 cp ${{ env.S3BUCKET_URL }}/${{ S3BUCKET_FILE }} ${{ env.S3BUCKET_FILE }}
9191
@@ -94,7 +94,7 @@ jobs:
9494
if: startsWith(github.ref, 'refs/tags/')
9595
with:
9696
files: |
97-
aleph-runtime-${{ steps.get_branch.outputs.sha_short }}.tar.gz
97+
aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
9898
9999
- name: GIT | Checkout aleph-apps repo
100100
uses: actions/checkout@master

0 commit comments

Comments
 (0)