Skip to content

Commit f829e1e

Browse files
committed
add workflow for Windows/Arm daily build
1 parent 5fa832b commit f829e1e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: build-shotcut-windows-arm64
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# nightly
7+
- cron: '0 12 * * *'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
if: ${{ github.repository_owner == 'mltframework' }}
13+
steps:
14+
- name: Download from S3
15+
run: |
16+
VERSION=$(date +"%y%m%d")
17+
echo VERSION=$VERSION
18+
sudo apt install -yqq s3cmd
19+
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
20+
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
21+
22+
- name: Upload artifacts
23+
uses: actions/upload-artifact@v3
24+
with:
25+
name: portable
26+
path: |
27+
*.zip
28+
29+
- name: Dump log
30+
run: xzcat shotcut-build-win_arm.txt.xz

0 commit comments

Comments
 (0)