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

Commit e9e5cc2

Browse files
committed
test release on push
1 parent 0189445 commit e9e5cc2

File tree

2 files changed

+11
-38
lines changed

2 files changed

+11
-38
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test, Lint and Package
1+
name: Test, Lint, Package and Publish
22

33
on: [push, pull_request]
44

@@ -26,3 +26,13 @@ jobs:
2626
run: npm run lint
2727
- name: Package
2828
run: npm run package
29+
- name: Build/release Electron app
30+
uses: samuelmeuli/action-electron-builder@v1
31+
with:
32+
# GitHub token, automatically provided to the action
33+
# (No need to define this secret in the repo settings)
34+
github_token: ${{ secrets.github_token }}
35+
36+
# If the commit is tagged with a version (e.g. "v1.0.0"),
37+
# release the app after building
38+
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)