Skip to content

Commit

Permalink
chore: try fix macos
Browse files Browse the repository at this point in the history
  • Loading branch information
sajjadmrx committed Jun 14, 2024
1 parent f87cc5a commit be739c7
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,28 @@ jobs:
publish_on_macos:
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Node v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install Node v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm

- name: Install Python
run: brew install python
- name: Install Python
run: brew install python

- name: Install Xcode Command Line Tools
run: xcode-select --install
- name: Install dependencies
run: npm ci

- name: Install dependencies
run: npm ci

- name: Install dmg-license
run: npm i dmg-license
- name: Install dmg-license
run: npm i dmg-license

- name: Install electron-builder
run: npm i electron-builder -g
- name: Install electron-builder
run: npm i electron-builder -g

- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:mac --verbose
- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:mac --verbose

0 comments on commit be739c7

Please sign in to comment.