Skip to content

Commit 698932a

Browse files
author
Akos Kitta
committed
Use plugins/s3 for the upload.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 2fa3e2d commit 698932a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ jobs:
5757

5858
- name: Publish Nightly [S3]
5959
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
60-
uses: shallwefootball/[email protected]
61-
with:
62-
aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
63-
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
64-
aws_bucket: arduino-downloads-prod-beagle
65-
source_dir: ${{ env.BUILD_OUTPUT_DIRECTORY }}/archive/
66-
destination_dir: arduino-language-server/nightly/
60+
uses: docker://plugins/s3
61+
env:
62+
PLUGIN_SOURCE: "${{ env.BUILD_OUTPUT_DIRECTORY }}/archive/*"
63+
PLUGIN_TARGET: "/arduino-language-server/nightly"
64+
PLUGIN_STRIP_PREFIX: "${{ env.BUILD_OUTPUT_DIRECTORY }}/archive/"
65+
PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }}
66+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
67+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)