Skip to content

Commit fcb58d6

Browse files
committed
try a different (easier) approach in pushing download files
do not use drone.io docker container anymore, use aws cli instead (already installed on github runners)
1 parent a95078d commit fcb58d6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,9 @@ jobs:
372372
# file: release/*
373373

374374
- name: Upload release files on Arduino downloads servers
375-
uses: docker://plugins/s3
376375
env:
377-
PLUGIN_SOURCE: "release/*"
378376
PLUGIN_TARGET: "/tmp/CreateBridge/staging/"
379-
PLUGIN_STRIP_PREFIX: "release/"
380-
PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }}
381377
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
382378
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
383-
if: steps.prerelease.outputs.IS_PRE != 'true'
379+
run: aws s3 sync release/ s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.PLUGIN_TARGET }} --include "*"
380+
if: steps.prerelease.outputs.IS_PRE != 'true'

0 commit comments

Comments
 (0)