Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 57d63dc

Browse files
committed
Add release action
1 parent 9cf5e20 commit 57d63dc

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/publish.yml renamed to .github/workflows/release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
name: Publish
1+
name: Release
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
release:
5+
types:
6+
- created
77

88
jobs:
99
publish:
10-
# To enable auto publishing to github, update your electron publisher
11-
# config in package.json > "build" and remove the conditional below
12-
if: ${{ github.repository_owner == 'electron-react-boilerplate' }}
13-
1410
runs-on: ${{ matrix.os }}
1511

1612
strategy:
@@ -24,8 +20,7 @@ jobs:
2420
- name: Install Node and NPM
2521
uses: actions/setup-node@v1
2622
with:
27-
node-version: 16
28-
cache: npm
23+
node-version: 14
2924

3025
- name: Install and build
3126
run: |

0 commit comments

Comments
 (0)