Skip to content

Commit d818987

Browse files
committed
build arm versions for deb, tar.gz and rpm
1 parent 96bbc2a commit d818987

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
tags:
66
- 'v*.*.*'
7-
87
jobs:
98
release:
109
runs-on: ${{ matrix.os }}
@@ -28,15 +27,7 @@ jobs:
2827

2928
- name: Install Snapcraft
3029
uses: samuelmeuli/action-snapcraft@v2
31-
if: ${{ matrix.platform != 'windows' }}
32-
33-
- name: Set up Homebrew
34-
if: matrix.platform == 'mac'
35-
uses: Homebrew/actions/setup-homebrew@master
36-
37-
- name: Install Homebrew Bundler RubyGems
38-
if: matrix.platform == 'mac'
39-
run: brew install multipass
30+
if: ${{ matrix.platform == 'linux' }}
4031

4132
- name: Install Node.js
4233
uses: actions/setup-node@v3
@@ -60,7 +51,7 @@ jobs:
6051
if: ${{ matrix.platform == 'mac' }}
6152
run: |
6253
echo "$API_KEY" > apple.p8
63-
npx electron-builder --mac --linux --publish always
54+
npx electron-builder --${{ matrix.platform }} --publish always
6455
env:
6556
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6657
CSC_LINK: ${{ secrets.MAC_CERTS }}

electron-builder.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,19 @@ dmg:
4040
linux:
4141
artifactName: ${name}-${arch}.${ext}
4242
target:
43-
- deb
44-
- snap
45-
- tar.gz
46-
- rpm
43+
- target: deb
44+
arch:
45+
- x64
46+
- arm64
47+
- target: snap
48+
- target: tar.gz
49+
arch:
50+
- x64
51+
- arm64
52+
- target: rpm
53+
arch:
54+
- x64
55+
- arm64
4756
desktop: # Define desktop elem
4857
name: solidtime
4958
exec: solidtime %U

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solidtime",
3-
"version": "0.0.30",
3+
"version": "0.0.31",
44
"description": "Desktop App for solidtime - the modern open-source time tracker",
55
"main": "./out/main/index.js",
66
"author": "solidtime.io",

0 commit comments

Comments
 (0)