build linux arm64 images with mac runner

This commit is contained in:
Gregor Vostrak
2024-08-28 01:30:35 +02:00
parent c251fcd66b
commit b19cd04d51
4 changed files with 7 additions and 15 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
if: ${{ matrix.platform == 'linux' }}
if: ${{ matrix.platform != 'windows' }}
- name: Install Node.js
uses: actions/setup-node@v3
@@ -52,7 +52,7 @@ jobs:
if: ${{ matrix.platform == 'mac' }}
run: |
echo "$API_KEY" > apple.p8
npx electron-builder --${{ matrix.platform }} --publish always
npx electron-builder --mac --linux --publish always
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CSC_LINK: ${{ secrets.MAC_CERTS }}
+2 -10
View File
@@ -22,8 +22,6 @@ nsis:
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
snap:
grade: stable
mac:
entitlementsInherit: build/entitlements.mac.plist
target:
@@ -42,14 +40,8 @@ dmg:
linux:
artifactName: ${name}-${arch}.${ext}
target:
- target: deb
arch:
- x64
- arm64
- target: snap
arch:
- x64
- arm64
- deb
- snap
- tar.gz
- rpm
desktop: # Define desktop elem
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "solidtime",
"version": "0.0.28",
"version": "0.0.29",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "solidtime",
"version": "0.0.28",
"version": "0.0.29",
"hasInstallScript": true,
"dependencies": {
"@electron-toolkit/preload": "^3.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "solidtime",
"version": "0.0.28",
"version": "0.0.29",
"description": "Desktop App for solidtime - the modern open-source time tracker",
"main": "./out/main/index.js",
"author": "solidtime.io",