-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (37 loc) · 954 Bytes
/
mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ArcadeManager MacOS
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: macos-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
8.x
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 22.x
- name: Setup ElectronNET
run: dotnet tool install --global ElectronNET.CLI
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Electronize
run: electronize build /target osx
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: ArcadeManager-macos
path: ./src/bin/Desktop/*.*