Skip to content

Commit

Permalink
Added build-and-deploy-mac
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-fiscaletti committed Apr 18, 2024
1 parent 5ced66a commit c47ca06
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
build-and-deploy-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
# Set up Node.js
Expand All @@ -29,9 +28,9 @@ jobs:
with:
files: |
dist/FrameCast.Setup.linux_amd64.deb
build-and-deploy-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
# Set up Node.js
Expand All @@ -57,4 +56,31 @@ jobs:
with:
files: |
dist/FrameCast.Setup.win32.exe
dist/FrameCast.Setup.win32.exe.blockmap
dist/FrameCast.Setup.win32.exe.blockmap
build-and-deploy-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
# Set up Node.js
- uses: actions/setup-node@v1
with:
node-version: '18.x'
# Install dependencies
- name: Install Dependencies
run: npm install
# Build the project
- name: Package for MacOS
run: npm run electron:package:mac
# Rename the release artifact
- name: Rename Artifact
run: mv dist/FrameCast-*.dmg dist/FrameCast.Setup.darwin.dmg
- name: Rename Artifact Blockmap
run: mv dist/FrameCast-*.dmg.blockmap dist/FrameCast.Setup.darwin.dmg.blockmap
# Upload the release artifact
- name: Upload Artifacts
uses: softprops/action-gh-release@v2
with:
files: |
dist/FrameCast.Setup.darwin.dmg
dist/FrameCast.Setup.darwin.dmg.blockmap

0 comments on commit c47ca06

Please sign in to comment.