From f829e1e2250ec0729f6e989c8eb5feead8ada68c Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Fri, 28 Jun 2024 13:48:28 -0700 Subject: [PATCH] add workflow for Windows/Arm daily build --- .github/workflows/build-windows_arm64.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-windows_arm64.yml diff --git a/.github/workflows/build-windows_arm64.yml b/.github/workflows/build-windows_arm64.yml new file mode 100644 index 0000000000..e50caf18e6 --- /dev/null +++ b/.github/workflows/build-windows_arm64.yml @@ -0,0 +1,30 @@ +name: build-shotcut-windows-arm64 + +on: + workflow_dispatch: + schedule: + # nightly + - cron: '0 12 * * *' + +jobs: + build: + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'mltframework' }} + steps: + - name: Download from S3 + run: | + VERSION=$(date +"%y%m%d") + echo VERSION=$VERSION + sudo apt install -yqq s3cmd + s3cmd --access_key=${{ secrets.AWS_ACCESS_KEY }} --secret_key=${{ secrets.AWS_SECRET_KEY }} --stop-on-error get s3://builds.us.meltytech/shotcut-build-win_arm.txt.xz + s3cmd --access_key=${{ secrets.AWS_ACCESS_KEY }} --secret_key=${{ secrets.AWS_SECRET_KEY }} --stop-on-error get s3://builds.us.meltytech/shotcut/shotcut-win_ARM-$VERSION.zip + + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: portable + path: | + *.zip + + - name: Dump log + run: xzcat shotcut-build-win_arm.txt.xz