From 3cc17e48befdf47f0902084c077a98f310fd49ca Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 10 Dec 2023 12:41:02 +0800 Subject: [PATCH] add flatpak build --- .github/workflows/build.yml | 6 +++++- package.json | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e6267c0..c84dc0a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,11 @@ jobs: uses: samuelmeuli/action-snapcraft@v2 if: startsWith(matrix.os, 'ubuntu') - - name: Save provisioning profile + - name: (Linux) Install flatpak dependencies + run: sudo apt-get install -y flatpak flatpak-builder + if: startsWith(matrix.os, 'ubuntu') + + - name: (MacOS) Save provisioning profile if: startsWith(matrix.os, 'macos') env: PROVISIONING_PROFILE_BASE64: ${{ secrets.PROVISIONING_PROFILE_BASE64 }} diff --git a/package.json b/package.json index 8a1e5873..5e6648ef 100644 --- a/package.json +++ b/package.json @@ -414,6 +414,10 @@ "arch": "x64", "target": "snap" }, + { + "arch": "x64", + "target": "flatpak" + }, { "arch": "arm64", "target": "tar.bz2"