diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 610cfe488..a5e4a9788 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,10 @@ on: tags: - v* +# Global vars +env: + AWS_REGION: "us-east-1" + jobs: build: name: Build Release @@ -14,7 +18,6 @@ jobs: SCCACHE_CACHE_SIZE: "1G" SCCACHE_IDLE_TIMEOUT: 0 AWS_S3_ARTIFACTS_BUCKET: "openethereum-releases" - AWS_REGION: "us-east-1" strategy: matrix: platform: @@ -237,7 +240,7 @@ jobs: run: | # Deploy zip artifacts to S3 bucket to a directory whose name is the tagged release version. # Deploy macos binary artifact (if required, add more `aws s3 cp` commands to deploy specific OS versions) - aws s3 cp macos-artifacts/openethereum s3://${{ env.AWS_S3_ARTIFACTS_BUCKET }}/${{ env.RELEASE_VERSION }}/macos/ + aws s3 cp macos-artifacts/openethereum s3://${{ env.AWS_S3_ARTIFACTS_BUCKET }}/${{ env.RELEASE_VERSION }}/macos/ --region ${{ env.AWS_REGION }} outputs: linux-artifact: ${{ steps.create_zip_linux.outputs.LINUX_ARTIFACT }}