Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Dec 2, 2023
1 parent ee7e71b commit 4988163
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json

- uses: actions/setup-node@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Run Electron Builder
run: |
Expand All @@ -29,8 +37,6 @@ jobs:
windows-latest) platform=windows ;;
esac
pnpm install
pnpm build
pnpm electron-builder --$platform --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4988163

Please sign in to comment.