mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -15,13 +15,16 @@ jobs:
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: latest
|
||||
|
||||
- name: Upgrade yarn version
|
||||
run: corepack prepare yarn@3.3.0 --activate
|
||||
|
||||
- name: Build and release with electron-builder
|
||||
run: |
|
||||
export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
yarn install
|
||||
yarn
|
||||
yarn dist -c.snap.publish=github
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user