File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -234,15 +234,19 @@ jobs:
234
234
runs-on : ubuntu-22.04
235
235
concurrency : builds-hex-pm
236
236
environment : release
237
- # Only run if HEX_AWS_REGION is set (no failing job in forks)
238
- if : " ${{ vars.HEX_AWS_REGION }}"
239
237
env :
240
238
AWS_ACCESS_KEY_ID : ${{ secrets.HEX_AWS_ACCESS_KEY_ID }}
241
239
AWS_SECRET_ACCESS_KEY : ${{ secrets.HEX_AWS_SECRET_ACCESS_KEY }}
242
240
AWS_REGION : ${{ vars.HEX_AWS_REGION }}
243
241
AWS_S3_BUCKET : ${{ vars.HEX_AWS_S3_BUCKET }}
244
242
OTP_GENERIC_VERSION : " 25"
245
243
steps :
244
+ - name : " Check if variables are set up"
245
+ if : " ${{ ! vars.HEX_AWS_REGION }}"
246
+ run : |
247
+ echo "Required variables for uploading to hex.pm are not set up, skipping..."
248
+ exit 1
249
+
246
250
- uses : actions/download-artifact@v4
247
251
with :
248
252
pattern : " {sign-*-elixir-otp-*,Docs}"
You can’t perform that action at this time.
0 commit comments