mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -05:00
31 lines
No EOL
701 B
YAML
31 lines
No EOL
701 B
YAML
name: macOS 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
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: "Build Project"
|
|
run: ./build-macos.sh
|
|
working-directory: Distribution
|
|
- 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" |