@@ -12,7 +12,7 @@ declare INPUT_DIR
12
12
declare VERSION
13
13
declare SIGNING_KEY_FILE
14
14
declare FILE_SERVER_PASSWORD_FILE
15
- if [ " ${GITHUB_ACTION :- false} " != " true" ]; then
15
+ if [ " ${GITHUB_ACTIONS :- false} " != " true" ]; then
16
16
declare AWS_ACCESS_KEY
17
17
declare AWS_SECRET_KEY_FILE
18
18
else
@@ -34,7 +34,7 @@ function usage()
34
34
echo " -v VERSION Passenger version number"
35
35
echo " -S PATH File containing the package signing key"
36
36
echo " -p PATH File containing the binary build automation file server password"
37
- if [ " ${GITHUB_ACTION :- false} " != " true" ]; then
37
+ if [ " ${GITHUB_ACTIONS :- false} " != " true" ]; then
38
38
echo " -a KEY Amazon S3 access key"
39
39
echo " -s KEY File containing the Amazon S3 secret key"
40
40
else
@@ -122,7 +122,7 @@ function parse_options()
122
122
echo " ERROR: $FILE_SERVER_PASSWORD_FILE does not exist."
123
123
exit 1
124
124
fi
125
- if [ " ${GITHUB_ACTION :- false} " != " true" ]; then
125
+ if [ " ${GITHUB_ACTIONS :- false} " != " true" ]; then
126
126
if [[ " $AWS_ACCESS_KEY " = " " ]]; then
127
127
echo " ERROR: please specify an AWS S3 access key with -a."
128
128
exit 1
@@ -167,7 +167,7 @@ declare -a EXTRA_DOCKER_ARGS
167
167
INPUT_DIR=$( absolute_path " $INPUT_DIR " )
168
168
FILE_SERVER_PASSWORD_FILE=$( absolute_path " $FILE_SERVER_PASSWORD_FILE " )
169
169
declare -a S3_ARGS
170
- if [ " ${GITHUB_ACTION :- false} " != " true" ]; then
170
+ if [ " ${GITHUB_ACTIONS :- false} " != " true" ]; then
171
171
AWS_SECRET_KEY_FILE=$( absolute_path " $AWS_SECRET_KEY_FILE " )
172
172
S3_ARGS=(" -v" " $AWS_SECRET_KEY_FILE :/aws_secret_key:ro" " -e" " AWS_ACCESS_KEY=$AWS_ACCESS_KEY " )
173
173
else
177
177
" -e" " AWS_SECRET_ACCESS_KEY"
178
178
" -e" " AWS_SESSION_TOKEN"
179
179
" -e" " AWS_REGION=us-east-1"
180
- " -e" " GITHUB_ACTION =true"
180
+ " -e" " GITHUB_ACTIONS =true"
181
181
)
182
182
fi
183
183
if [[ " $SIGNING_KEY_PASSWORD_FILE " != " " ]]; then
0 commit comments