From 13d3d3a18006f273dc9e35fd24aec3f6b134d869 Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 17 Jan 2024 17:51:50 -0800 Subject: [PATCH] upload build-helper builds to aws s3 as github artifacts are painfully slow to download --- .github/workflows/build-helper.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-helper.yml b/.github/workflows/build-helper.yml index a1a4ed322..dc398905e 100644 --- a/.github/workflows/build-helper.yml +++ b/.github/workflows/build-helper.yml @@ -87,6 +87,12 @@ jobs: path: buildtemp - run: | 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 with: name: waveterm-builds