From 24cff45334f26dc4c48d58198869f2ae1721055d Mon Sep 17 00:00:00 2001 From: Giacomo Date: Mon, 28 Sep 2020 17:07:36 +0200 Subject: [PATCH] Set AWS_REGION as a global env variable (#67) --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 }}