test.
This commit is contained in:
parent
a4492124ec
commit
aff494100e
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -14,18 +14,17 @@ jobs:
|
|||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Install Node.js, NPM and Yarn
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- run: npm install --no-optional
|
- name: Install Dependencies
|
||||||
|
run: npm ci --no-optional
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Build/release Electron app
|
- name: Build
|
||||||
uses: samuelmeuli/action-electron-builder@v1
|
env:
|
||||||
with:
|
GH_TOKEN: ${{ secrets.github_token }}
|
||||||
github_token: ${{ secrets.github_token }}
|
run: npm run dist
|
||||||
|
shell: bash
|
||||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
|
||||||
# release the app after building
|
|
||||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
Loading…
Reference in New Issue
Block a user