Skip to content

Commit

Permalink
feat: macos action
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Dec 24, 2024
1 parent a6e5f1a commit 21b5388
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build macOS

on:
workflow_dispatch:

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- uses: android-actions/setup-android@v3
- run: |
npm i
npm run adb
npm run server
npm run build
npm run pack
- uses: actions/upload-artifact@v4
with:
name: windows
path: release/**/*.dmg
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: windows
path: release/
path: release/**/*.exe

0 comments on commit 21b5388

Please sign in to comment.