mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 01:30:49 +01:00
Enable S3 uploads for GHA artifacts (#725)
This commit is contained in:
parent
7a119360bf
commit
d43cbdc87f
19
.github/workflows/cmake-lx.yml
vendored
19
.github/workflows/cmake-lx.yml
vendored
@ -57,4 +57,21 @@ jobs:
|
||||
with:
|
||||
path: ${{runner.workspace}}/build/audacious/vgmstream.so
|
||||
name: vgmstream-audacious
|
||||
|
||||
|
||||
- name: Upload Artifacts to S3
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
shell: bash
|
||||
env:
|
||||
AWS_DEFAULT_REGION: us-west-1
|
||||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
|
||||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
|
||||
run: |
|
||||
cd cli
|
||||
tar cvfz vgmstream-cli.tar.gz vgmstream_cli vgmstream123
|
||||
cd ../audacious
|
||||
tar cvfz vgmstream-audacious.tar.gz vgmstream.so
|
||||
cd ..
|
||||
aws s3 cp cli/vgmstream-cli.tar.gz s3://vgmstream-builds/${{github.sha}}/linux/vgmstream-cli.tar.gz --acl public-read
|
||||
aws s3 cp cli/vgmstream-cli.tar.gz s3://vgmstream-builds/latest/linux/vgmstream-cli.tar.gz --acl public-read
|
||||
aws s3 cp audacious/vgmstream-audacious.tar.gz s3://vgmstream-builds/${{github.sha}}/linux/vgmstream-audacious.tar.gz --acl public-read
|
||||
aws s3 cp audacious/vgmstream-audacious.tar.gz s3://vgmstream-builds/latest/linux/vgmstream-audacious.tar.gz --acl public-read
|
||||
|
20
.github/workflows/vs-win.yml
vendored
20
.github/workflows/vs-win.yml
vendored
@ -93,3 +93,23 @@ jobs:
|
||||
with:
|
||||
name: test.pdb
|
||||
path: ${{github.workspace}}\tmp\cli-p
|
||||
|
||||
- name: Upload Artifacts to S3
|
||||
working-directory: ${{github.workspace}}
|
||||
shell: powershell
|
||||
env:
|
||||
AWS_DEFAULT_REGION: us-west-1
|
||||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
|
||||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
|
||||
run: |
|
||||
aws s3 cp Release\test.zip s3://vgmstream-builds/${{github.sha}}/windows/ --acl public-read
|
||||
aws s3 cp Release\foo_input_vgmstream.fb2k-component s3://vgmstream-builds/${{github.sha}}/windows/ --acl public-read
|
||||
aws s3 cp Release\test.pdb.zip s3://vgmstream-builds/${{github.sha}}/windows/ --acl public-read
|
||||
aws s3 cp Release\foo_input_vgmstream.pdb.zip s3://vgmstream-builds/${{github.sha}}/windows/ --acl public-read
|
||||
|
||||
aws s3 cp Release\test.zip s3://vgmstream-builds/latest/windows/ --acl public-read
|
||||
aws s3 cp Release\foo_input_vgmstream.fb2k-component s3://vgmstream-builds/latest/windows/ --acl public-read
|
||||
aws s3 cp Release\test.pdb.zip s3://vgmstream-builds/latest/windows/ --acl public-read
|
||||
aws s3 cp Release\foo_input_vgmstream.pdb.zip s3://vgmstream-builds/latest/windows/ --acl public-read
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user