Skip to content

Commit

Permalink
macOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
hata6502 committed Feb 21, 2024
1 parent 8ac43bf commit 17bad3d
Show file tree
Hide file tree
Showing 3 changed files with 1,683 additions and 6,937 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,26 @@ jobs:
os:
- ubuntu-latest
- windows-latest
# Cannot find module 'appdmg' · Issue #2807 · electron/forge https://github.com/electron/forge/issues/2807
#- macos-latest
- macos-latest
arch: [x64, arm64]
exclude:
- os: windows-latest
arch: arm64
- os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci

# https://github.com/electron/forge/issues/2807
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: python3 -m pip install setuptools

- run: npm run build
- run: npm run publish -- --arch ${{ matrix.arch }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
Expand Down
Loading

0 comments on commit 17bad3d

Please sign in to comment.