From 61a2398fb885b9be1f3497ffbab46ca959de27e3 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 20 May 2021 21:53:13 +0200 Subject: [PATCH] build --- .github/workflows/build-app-beta.yaml | 1 + .github/workflows/build-app.yaml | 1 + app/package.json | 13 ++++++++++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-app-beta.yaml b/.github/workflows/build-app-beta.yaml index 55a735fb..382a0999 100644 --- a/.github/workflows/build-app-beta.yaml +++ b/.github/workflows/build-app-beta.yaml @@ -70,6 +70,7 @@ jobs: cp app/dist/*.AppImage artifacts/dbgate-beta.AppImage || true cp app/dist/*.exe artifacts/dbgate-beta.exe || true cp app/dist/*windows*.zip artifacts/dbgate-windows-beta.zip || true + cp app/dist/*mac*.zip artifacts/dbgate-mac-beta.zip || true cp app/dist/*.dmg artifacts/dbgate-beta.dmg || true mv app/dist/*.exe artifacts/ || true diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index 3b8ea216..a41036fb 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -78,6 +78,7 @@ jobs: cp app/dist/*.AppImage artifacts/dbgate-latest.AppImage || true cp app/dist/*.exe artifacts/dbgate-latest.exe || true cp app/dist/*windows*.zip artifacts/dbgate-windows-latest.zip || true + cp app/dist/*mac*.zip artifacts/dbgate-mac-latest.zip || true cp app/dist/*.dmg artifacts/dbgate-latest.dmg || true mv app/dist/*.exe artifacts/ || true diff --git a/app/package.json b/app/package.json index 58635ae8..59c3ad6f 100644 --- a/app/package.json +++ b/app/package.json @@ -33,9 +33,16 @@ }, "linux": { "target": [ - "AppImage", "deb", - "snap" + "snap", + { + "target": "AppImage", + "arch": [ + "x64", + "armv7l", + "arm64" + ] + } ], "icon": "icon.png", "artifactName": "dbgate-linux-${version}.${ext}", @@ -92,4 +99,4 @@ "optionalDependencies": { "msnodesqlv8": "^2.0.10" } -} +} \ No newline at end of file