Skip to content

Commit

Permalink
Fix call to invalid step output in the deploy-mainnet workflow (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajgs authored and Marcin-Radecki committed Feb 27, 2023
1 parent 6389158 commit 1d91e11
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
id: vars
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
echo "branch=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down Expand Up @@ -84,8 +84,8 @@ jobs:
- name: S3 CI | Download release runtime from S3 bucket
shell: bash
env:
S3BUCKET_URL: s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.get_branch.outputs.sha_short }}/aleph-runtime
S3BUCKET_FILE: aleph-runtime-${{ steps.get_branch.outputs.sha_short }}.tar.gz
S3BUCKET_URL: s3://${{ secrets.CI_MAINNET_S3BUCKET_NAME }}/builds/aleph-node/commits/${{ steps.vars.outputs.sha_short }}/aleph-runtime
S3BUCKET_FILE: aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
run: |
aws s3 cp ${{ env.S3BUCKET_URL }}/${{ S3BUCKET_FILE }} ${{ env.S3BUCKET_FILE }}
Expand All @@ -94,7 +94,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
aleph-runtime-${{ steps.get_branch.outputs.sha_short }}.tar.gz
aleph-runtime-${{ steps.vars.outputs.sha_short }}.tar.gz
- name: GIT | Checkout aleph-apps repo
uses: actions/checkout@master
Expand Down

0 comments on commit 1d91e11

Please sign in to comment.