Browse Source

Turn on S3 Upload

QGC4.4
Don Gagne 3 years ago committed by Don Gagne
parent
commit
ad7ec0be12
  1. 5
      .github/workflows/linux_release.yml
  2. 6
      .github/workflows/macos_release.yml
  3. 5
      .github/workflows/windows_release.yml

5
.github/workflows/linux_release.yml

@ -91,11 +91,10 @@ jobs: @@ -91,11 +91,10 @@ jobs:
name: ${{ env.ARTIFACT }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}
# Currently disabled since credentials are not working correctly
- name: Upload to S3 Bucket
if: false && github.event_name == 'push'
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://groundcontrol/master --region us-west-2 --acl public-read
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/master --region us-west-2 --acl public-read

6
.github/workflows/macos_release.yml

@ -86,11 +86,11 @@ jobs: @@ -86,11 +86,11 @@ jobs:
name: ${{ env.ARTIFACT }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}
# Currently disabled since credentials are not working correctly
- name: Upload to S3 Bucket
if: false && github.event_name == 'push'
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://groundcontrol/master --region us-west-2 --acl public-read
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/master --region us-west-2 --acl public-read
q

5
.github/workflows/windows_release.yml

@ -92,11 +92,10 @@ jobs: @@ -92,11 +92,10 @@ jobs:
name: qgroundcontrol.pdb
path: ${{ runner.temp }}\shadow_build_dir\staging\qgroundcontrol.pdb
# Currently disabled since credentials are not working correctly
- name: Upload to S3 Bucket
if: false && github.event_name == 'push'
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}\shadow_build_dir\staging
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://groundcontrol/master --region us-west-2 --acl public-read
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/master --region us-west-2 --acl public-read

Loading…
Cancel
Save