fix ci
This commit is contained in:
parent
ee7e71b9fb
commit
4988163744
1 changed files with 11 additions and 5 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -14,12 +14,20 @@ jobs:
|
||||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
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:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
|
cache: "pnpm"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm build
|
||||||
|
|
||||||
- name: Run Electron Builder
|
- name: Run Electron Builder
|
||||||
run: |
|
run: |
|
||||||
|
@ -29,8 +37,6 @@ jobs:
|
||||||
windows-latest) platform=windows ;;
|
windows-latest) platform=windows ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pnpm install
|
|
||||||
pnpm build
|
|
||||||
pnpm electron-builder --$platform --publish always
|
pnpm electron-builder --$platform --publish always
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue