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
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: npm install --no-optional
|
||||
- name: Install Dependencies
|
||||
run: npm ci --no-optional
|
||||
shell: bash
|
||||
|
||||
- name: Build/release Electron app
|
||||
uses: samuelmeuli/action-electron-builder@v1
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
|
||||
# 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') }}
|
||||
- name: Build
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.github_token }}
|
||||
run: npm run dist
|
||||
shell: bash
|
Loading…
Reference in New Issue
Block a user