Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore: sync make build with dev (#5847)
Nguyen Ngoc Minhaf892428a55e
diff --git a/.github/workflows/jan-linter-and-test.yml b/.github/workflows/jan-linter-and-test.ymlindex 97405cc6a..7ad7f67aa 100644--- a/.github/workflows/jan-linter-and-test.yml+++ b/.github/workflows/jan-linter-and-test.yml@@ -71,7 +71,7 @@ jobs:path: coverage/lcov.infotest-on-macos:- runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'macos-latest' || 'macos-selfhosted-12-arm64' }}+ runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'macos-latest' || 'macos-selfhosted-15-arm64' }}if: github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'steps:- name: Getting the repodiff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.ymlindex f79e4fcca..20663ea69 100644--- a/.github/workflows/template-tauri-build-linux-x64.yml+++ b/.github/workflows/template-tauri-build-linux-x64.yml@@ -141,7 +141,7 @@ jobs:fi- name: Build apprun: |- make build-tauri+ make buildAPP_IMAGE=./src-tauri/target/release/bundle/appimage/$(ls ./src-tauri/target/release/bundle/appimage/ | grep AppImage | head -1)yarn tauri signer sign \diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.ymlindex 2679638c4..40cf4e839 100644--- a/.github/workflows/template-tauri-build-macos.yml+++ b/.github/workflows/template-tauri-build-macos.yml@@ -168,7 +168,7 @@ jobs:- name: Build apprun: |rustup target add x86_64-apple-darwin- make build-tauri+ make buildenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}APP_PATH: '.'diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.ymlindex 402712f81..958b7c9f7 100644--- a/.github/workflows/template-tauri-build-windows-x64.yml+++ b/.github/workflows/template-tauri-build-windows-x64.yml@@ -178,7 +178,7 @@ jobs:- name: Build appshell: bashrun: |- make build-tauri+ make buildenv:AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }}AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}diff --git a/Makefile b/Makefileindex b6e1a01b5..77b77022e 100644--- a/Makefile+++ b/Makefile@@ -56,11 +56,6 @@ build: install-and-buildyarn download:libyarn build-# Deprecated soon-build-tauri: install-and-build- yarn download:lib- yarn build-clean:ifeq ($(OS),Windows_NT)-powershell -Command "Get-ChildItem -Path . -Include node_modules, .next, dist, build, out, .turbo, .yarn -Recurse -Directory | Remove-Item -Recurse -Force"diff --git a/mise.toml b/mise.tomlindex c3c2dae4e..e51fdcce7 100644--- a/mise.toml+++ b/mise.toml@@ -73,12 +73,8 @@ run = [[tasks.build]description = "Build complete application (matches Makefile)"depends = ["install-and-build"]-run = "yarn build"--[tasks.build-tauri]-description = "Build Tauri application (DEPRECATED - matches Makefile)"-depends = ["install-and-build"]run = [+ "yarn copy:lib","yarn build"]