Skip to content

Commit 3d9a41f

Browse files
committed
Move to GitHub CI/CD
1 parent 351237a commit 3d9a41f

File tree

3 files changed

+541
-505
lines changed

3 files changed

+541
-505
lines changed

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build/release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- v*
9+
10+
workflow_dispatch:
11+
12+
jobs:
13+
release:
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [macos-latest, ubuntu-latest, windows-latest]
19+
20+
steps:
21+
- name: Check out Git repository
22+
uses: actions/checkout@v1
23+
24+
- name: Install Node.js, NPM and Yarn
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: 20
28+
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') }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flowinity-desktop",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Flowinity Desktop",
55
"main": "./out/main/index.js",
66
"author": "Flowinity",

0 commit comments

Comments
 (0)