Browse Source

Upload top S3

QGC4.4
Don Gagne 4 years ago committed by Don Gagne
parent
commit
0afd61e01c
  1. 16
      .github/workflows/compile_test_release.yml

16
.github/workflows/compile_test_release.yml

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
name: Compile, Test and Release
on: [pull_request]
on: [ push, pull_request ]
defaults:
run:
@ -152,3 +152,17 @@ jobs: @@ -152,3 +152,17 @@ jobs:
with:
name: ${{ matrix.config.artifact }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ matrix.config.artifact }}
- name: Upload artifact to S3 Bucket
if: ${{ matrix.config.save-artifact && github.event_name == 'push' }}
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
AWS_S3_BUCKET: qgroundcontrol
AWS_REGION: 'us-west-1'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: ${{ runner.temp }}/shadow_build_dir/package/${{ matrix.config.artifact }}
LOCAL_DIR: 'master'

Loading…
Cancel
Save