Skip to content

Commit 1d46f1e

Browse files
authored
Fix release workflow (#380)
* Fix aws cli usage Related to https://dotjoeblog.wordpress.com/2021/03/14/github-actions-aws-error-exit-code-255/ * Add comment
1 parent f973793 commit 1d46f1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.ci/publish-aws.sh

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ set -euo pipefail
99
export AWS_FOLDER=${AWS_FOLDER:-.aws}
1010
export SUFFIX_ARN_FILE=${SUFFIX_ARN_FILE:-arn-file.md}
1111

12+
# This needs to be set in GH actions
13+
# https://dotjoeblog.wordpress.com/2021/03/14/github-actions-aws-error-exit-code-255/
14+
# eu-west-1 is just a random region
15+
export AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION:-eu-west-1}
16+
1217
GOOS=${GOOS:?Please provide GOOS environment variable.}
1318
GOARCH=${GOARCH:?Please provide GOARCH environment variable.}
1419
ELASTIC_LAYER_NAME=${ELASTIC_LAYER_NAME:?Please provide ELASTIC_LAYER_NAME environment variable.}

0 commit comments

Comments
 (0)