Skip to content

Add workflow_dispatch trigger for build scripts #6

Add workflow_dispatch trigger for build scripts

Add workflow_dispatch trigger for build scripts #6

Workflow file for this run

name: build-mac
on:
workflow_dispatch
push:

Check failure on line 4 in .github/workflows/build-mac.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-mac.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches: [main]
jobs:
build-mac:
name: Build StemRoller for macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm i -D
- run: npm run download-third-party-apps
- run: npm run build:mac
- uses: tyankatsu0105/read-package-version-actions@v1
id: package-version
- run: ditto -c -k --sequesterRsrc --keepParent dist/mac/StemRoller.app stemroller-${{ steps.package-version.outputs.version }}-mac.zip
- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.package-version.outputs.version }}
files: stemroller-${{ steps.package-version.outputs.version }}-mac.zip