Skip to content

Commit

Permalink
Merge pull request fermyon#1793 from rajatjindal/fix-s3-push
Browse files Browse the repository at this point in the history
syntax fix to run only on linux/amd64
  • Loading branch information
rajatjindal authored Sep 22, 2023
2 parents 8ed10c2 + 7e56397 commit 75c8110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}

- name: Copy Binary to S3 - ${{ env.RELEASE_VERSION }}
if: runner.os == 'linux' && matrix.config.arch == 'amd64' && ${{ github.repository_owner == 'fermyon' }}
if: runner.os == 'linux' && matrix.config.arch == 'amd64' && github.repository_owner == 'fermyon'
run: |
aws s3 cp _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz s3://${{ secrets.SPIN_RELEASE_ARTIFACTS_REPO }}/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz --acl public-read
Expand Down

0 comments on commit 75c8110

Please sign in to comment.