Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit fea44a7

Browse files
committed
automated release
1 parent 7782e43 commit fea44a7

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

.github/workflows/cider-chores.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77

88
jobs:
99
compile-and-post:
10-
runs-on: ${{ matrix.os }}
10+
runs-on: ubuntu-latest
11+
12+
container:
13+
image: electronuserland/builder:wine
1114

12-
strategy:
13-
matrix:
14-
os: [macos-latest, ubuntu-latest, windows-latest]
1515

1616
steps:
1717
- name: Checkout 🛎
@@ -22,16 +22,22 @@ jobs:
2222
with:
2323
node-version-file: '.nvmrc'
2424

25-
- name: Build/release Electron app
26-
uses: samuelmeuli/[email protected]
27-
with:
28-
# GitHub token, automatically provided to the action
29-
# (No need to define this secret in the repo settings)
30-
github_token: ${{ secrets.github_token }}
25+
- name: Install Dependencies 📦
26+
run: yarn install
27+
28+
- name: Build 🏗
29+
run: yarn dist:all
3130

32-
# If the commit is tagged with a version (e.g. "v1.0.0"),
33-
# release the app after building
34-
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
31+
- name: Upload Release 🚀
32+
uses: softprops/[email protected]
33+
with:
34+
files: |
35+
./dist/*.exe
36+
./dist/*.deb
37+
./dist/*.AppImage
38+
./dist/*.rpm
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3541

3642
prettier:
3743
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"dist": "npm run build && electron-builder --publish=never",
2323
"dist:win": "npm run build && electron-builder --win --publish=never",
2424
"dist:linux": "npm run build && electron-builder --linux --publish=never",
25+
"dist:all": "npm run build && electron-builder -wl --publish=never",
2526
"dist:universalNotWorking": "npm run build && electron-builder --mac --universal --publish:never",
2627
"winget": "npm run build && electron-builder --win -c winget.json",
2728
"msft": "npm run build && electron-builder -c msft-package.json",

0 commit comments

Comments
 (0)