FRESHMusicPlayer/.github/workflows/macos.yml
2021-05-02 22:19:30 +10:00

27 lines
No EOL
596 B
YAML

name: CI
on:
push:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: "Install Dependencies"
run: |
npm install -g appdmg
- name: "Build Project"
run: ./Distribution/build-macos.sh
- name: "Create Disk Image"
run: appdmg ./Distribution/app-dmg-spec.json ./FRESHMusicPlayer.dmg
- uses: actions/upload-artifact@v1
name: "Upload Artifact"
with:
name: "FRESHMusicPlayer.dmg"
path: "./FRESHMusicPlayer.dmg"