Skip to content

Commit dc1750f

Browse files
committed
fix wrong fpm install on linux arm runner
1 parent d77a6d6 commit dc1750f

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
- name: Check out Git repository
3535
uses: actions/checkout@v3
3636

37+
- name: Install system FPM (Linux ARM64)
38+
if: matrix.platform == 'linux' && matrix.arch == 'arm64'
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y ruby ruby-dev rubygems build-essential
42+
sudo gem install --no-document fpm
43+
3744
- name: Install Node.js
3845
uses: actions/setup-node@v3
3946
with:
@@ -60,6 +67,7 @@ jobs:
6067
run: npx electron-builder --linux --${{ matrix.arch }} --publish always
6168
env:
6269
GH_TOKEN: ${{ secrets.GH_TOKEN }}
70+
USE_SYSTEM_FPM: ${{ matrix.arch == 'arm64' && 'true' || 'false' }}
6371

6472
- name: Run Electron Builder (macOS)
6573
if: matrix.platform == 'mac'

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.66-beta",
3+
"version": "0.0.67-beta",
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)