Skip to content

Commit

Permalink
U308-038 Upload binaries to AWS S3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
reznikmm authored and pmderodat committed Apr 19, 2021
1 parent 7e5f283 commit b3839c8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ jobs:
- name: Build Libadalang and its dependencies (non-Windows)
if: ${{ runner.os != 'Windows' }}
run: utils/gh-build-binaries.sh "${{ matrix.debug }}" ${{ runner.os }}
- name: Keep artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-${{ matrix.debug }}
path: '*.tar.gz'
- name: AWS S3 upload
env:
AWS_ACCESS_KEY_ID: ${{secrets.GHA_CACHE_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.GHA_CACHE_SECRET}}
AWS_DEFAULT_REGION: eu-west-1
run: |
aws s3 cp . s3://adacore-gha-tray-eu-west-1/libadalang/ --recursive --exclude "*" --include "*.tar.gz" --sse=AES256
aws s3 ls s3://adacore-gha-tray-eu-west-1/libadalang/
- name: Upload tar-ball to Bintray
uses: reznikmm/upload-bintray-action@v4
with:
Expand Down

0 comments on commit b3839c8

Please sign in to comment.