-
Notifications
You must be signed in to change notification settings - Fork 1.3k
30 lines (26 loc) · 957 Bytes
/
build-macos.yml
File metadata and controls
30 lines (26 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: build-shotcut-macos
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-macos.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-macos-unsigned-$VERSION.dmg
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: unsigned-dmg
path: |
*.dmg
- name: Dump log
run: xzcat shotcut-build-macos.txt.xz