File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,19 @@ jobs:
343343 echo "ASSET_NAME_SUFFIX=-pi4" >> $GITHUB_ENV
344344 fi
345345
346+ - name : Configure AWS credentials
347+ uses : aws-actions/configure-aws-credentials@v4
348+ if : startsWith(github.ref, 'refs/tags/')
349+ with :
350+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
351+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
352+ aws-region : us-east-2
353+
354+ - name : Upload to S3
355+ if : startsWith(github.ref, 'refs/tags/')
356+ run : |
357+ aws s3 sync BlueOS-raspberry-${{ env.SANITIZED_PLATFORM }}-${{ matrix.os }}.zip s3://blueos-downlaods/releases/ --delete
358+
346359 - name : Upload raspberry image for release
347360 uses : svenstaro/upload-release-action@v2
348361 if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments