build-shotcut-macos #1395
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |