Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
ci(windows): substitute jan_workspace in the external NSIS template
James Dam28586fcfc6e6
diff --git a/.github/workflows/template-tauri-build-windows-x64-external.yml b/.github/workflows/template-tauri-build-windows-x64-external.ymlindex 3269cf8c5..d975c55fe 100644--- a/.github/workflows/template-tauri-build-windows-x64-external.yml+++ b/.github/workflows/template-tauri-build-windows-x64-external.yml@@ -125,6 +125,10 @@ jobs:new_build_version="${base_version}.${t_value}"}generate_build_version ${{ inputs.new_version }}+ # The template's File paths are absolute; the workspace differs between+ # hosted (D:\a\jan\jan) and self-hosted (C:\w\jan\jan) runners.+ ws='${{ github.workspace }}'+ sed -i "s|jan_workspace|${ws//\\/\\\\}|g" ./src-tauri/tauri.bundle.windows.nsis.templatesed -i "s/jan_version/$new_base_version/g" ./src-tauri/tauri.bundle.windows.nsis.templatesed -i "s/jan_build/$new_build_version/g" ./src-tauri/tauri.bundle.windows.nsis.template