Set AWS_REGION as a global env variable (#67)
This commit is contained in:
parent
51817baecd
commit
fb071acb09
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user