Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

feat: flatpak disable auto updater

Minh14112046983bac6bea
diff --git a/.github/workflows/jan-tauri-build-nightly.yaml b/.github/workflows/jan-tauri-build-nightly.yaml
index 7cf5e828b..4e306da8b 100644
--- a/.github/workflows/jan-tauri-build-nightly.yaml
+++ b/.github/workflows/jan-tauri-build-nightly.yaml
@@ -106,6 +106,19 @@ jobs:
channel: nightly
cortex_api_port: '39261'
disable_updater: ${{ github.event.inputs.disable_updater == 'true' }}
+
+ build-linux-x64-flatpak:
+ uses: ./.github/workflows/template-tauri-build-linux-x64-flatpak.yml
+ secrets: inherit
+ needs: [get-update-version, set-public-provider]
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
+ with:
+ ref: ${{ needs.set-public-provider.outputs.ref }}
+ public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
+ new_version: ${{ needs.get-update-version.outputs.new_version }}
+ channel: nightly
+ cortex_api_port: '39261'
+ disable_updater: true
sync-temp-to-latest:
needs:
@@ -114,6 +127,7 @@ jobs:
set-public-provider,
build-windows-x64,
build-linux-x64,
+ build-linux-x64-flatpak,
build-macos,
]
runs-on: ubuntu-22.04