upload build-helper builds to aws s3 as github artifacts are painfully slow to download

This commit is contained in:
sawka 2024-01-17 17:51:50 -08:00
parent 5216f58e2f
commit 13d3d3a180

View File

@ -87,6 +87,12 @@ jobs:
path: buildtemp path: buildtemp
- run: | - run: |
mv out/make/zip/linux/x64/Wave-linux-x64-$WAVETERM_VERSION.zip buildtemp/waveterm-linux-x64-v$WAVETERM_VERSION.zip mv out/make/zip/linux/x64/Wave-linux-x64-$WAVETERM_VERSION.zip buildtemp/waveterm-linux-x64-v$WAVETERM_VERSION.zip
- run: (cd buildtemp; zip ../waveterm-builds.zip *)
- run: aws s3 cp waveterm-builds.zip s3://waveterm-github-artifacts/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_USERID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRETKEY }}
AWS_DEFAULT_REGION: us-west-2
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: waveterm-builds name: waveterm-builds