File tree 2 files changed +6
-16
lines changed
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,9 @@ jobs:
236
236
- create-nightly-artifacts
237
237
- notarize-macos
238
238
- create-windows-installer
239
+ permissions :
240
+ contents : write
241
+ id-token : write # This is required for requesting the JWT
239
242
240
243
steps :
241
244
- name : Checkout repository
@@ -272,12 +275,7 @@ jobs:
272
275
aws-region : ${{ env.AWS_REGION }}
273
276
274
277
- name : Upload release files on Arduino downloads servers
275
- uses : docker://plugins/s3
276
- env :
277
- PLUGIN_SOURCE : " ${{ env.DIST_DIR }}/*"
278
- PLUGIN_TARGET : " ${{ env.AWS_PLUGIN_TARGET }}nightly"
279
- PLUGIN_STRIP_PREFIX : " ${{ env.DIST_DIR }}/"
280
- PLUGIN_BUCKET : ${{ secrets.DOWNLOADS_BUCKET }}
278
+ run : aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}nightly
281
279
282
280
report :
283
281
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 16
16
tags :
17
17
- " v[0-9]+.[0-9]+.[0-9]+*"
18
18
19
- permissions :
20
- id-token : write # This is required for requesting the JWT
21
- contents : read # This is required for actions/checkout
22
-
23
19
jobs :
24
20
create-release-artifacts :
25
21
outputs :
@@ -242,6 +238,7 @@ jobs:
242
238
- create-windows-installer
243
239
permissions :
244
240
contents : write
241
+ id-token : write # This is required for requesting the JWT
245
242
246
243
steps :
247
244
- name : Checkout repository
@@ -299,12 +296,7 @@ jobs:
299
296
aws-region : ${{ env.AWS_REGION }}
300
297
301
298
- name : Upload release files on Arduino downloads servers
302
- uses : docker://plugins/s3
303
- env :
304
- PLUGIN_SOURCE : " ${{ env.DIST_DIR }}/*"
305
- PLUGIN_TARGET : ${{ env.AWS_PLUGIN_TARGET }}
306
- PLUGIN_STRIP_PREFIX : " ${{ env.DIST_DIR }}/"
307
- PLUGIN_BUCKET : ${{ secrets.DOWNLOADS_BUCKET }}
299
+ run : aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}
308
300
309
301
- name : Update Homebrew formula
310
302
if : steps.prerelease.outputs.IS_PRE != 'true'
You can’t perform that action at this time.
0 commit comments