Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
ci: temporarily disable portable artifact upload to GitHub release and artifact
Minh1411207c3802c3facc
diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.ymlindex 3f0fc6193..f9204471c 100644--- a/.github/workflows/template-tauri-build-windows-x64.yml+++ b/.github/workflows/template-tauri-build-windows-x64.yml@@ -58,8 +58,8 @@ on:value: ${{ jobs.build-windows-x64.outputs.FILE_NAME }}MSI_FILE_NAME:value: ${{ jobs.build-windows-x64.outputs.MSI_FILE_NAME }}- PORTABLE_FILE_NAME:- value: ${{ jobs.build-windows-x64.outputs.PORTABLE_FILE_NAME }}+ # PORTABLE_FILE_NAME:+ # value: ${{ jobs.build-windows-x64.outputs.PORTABLE_FILE_NAME }}jobs:build-windows-x64:@@ -68,7 +68,7 @@ jobs:WIN_SIG: ${{ steps.metadata.outputs.WIN_SIG }}FILE_NAME: ${{ steps.metadata.outputs.FILE_NAME }}MSI_FILE_NAME: ${{ steps.metadata.outputs.MSI_FILE_NAME }}- PORTABLE_FILE_NAME: ${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}+ # PORTABLE_FILE_NAME: ${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}permissions:contents: writesteps:@@ -258,12 +258,12 @@ jobs:path: |./src-tauri/target/release/bundle/msi/*.msi- - name: Upload Portable Artifact- uses: actions/upload-artifact@v4- with:- name: jan-windows-portable-${{ inputs.new_version }}- path: |- ./src-tauri/target/release/Jan*.exe+ # - name: Upload Portable Artifact+ # uses: actions/upload-artifact@v4+ # with:+ # name: jan-windows-portable-${{ inputs.new_version }}+ # path: |+ # ./src-tauri/target/release/Jan*.exe## Set output filename for windows- name: Set output filename for windows@@ -275,31 +275,19 @@ jobs:WIN_SIG=$(cat Jan-${{ inputs.channel }}_${{ inputs.new_version }}_x64-setup.exe.sig)MSI_FILE="Jan-${{ inputs.channel }}_${{ inputs.new_version }}_x64_en-US.msi"- PORTABLE_FILE_NAME="Jan-${{ inputs.channel }}_${{ inputs.new_version }}_x64-portable.exe"+ # PORTABLE_FILE_NAME="Jan-${{ inputs.channel }}_${{ inputs.new_version }}_x64-portable.exe"elseFILE_NAME=Jan_${{ inputs.new_version }}_x64-setup.exeWIN_SIG=$(cat Jan_${{ inputs.new_version }}_x64-setup.exe.sig)MSI_FILE="Jan_${{ inputs.new_version }}_x64_en-US.msi"- PORTABLE_FILE_NAME="Jan_${{ inputs.new_version }}_x64-portable.exe"+ # PORTABLE_FILE_NAME="Jan_${{ inputs.new_version }}_x64-portable.exe"fi- # go to ./src-tauri/target/release- cd ../..-- # find the actual portable exe produced by the build- PORTABLE_SRC=$(ls -1 Jan*.exe | head -n 1)- if [ -z "$PORTABLE_SRC" ] || [ ! -f "$PORTABLE_SRC" ]; then- echo "Error: portable exe matching 'Jan*.exe' not found in $(pwd)" >&2- exit 1- fi- # copy to deterministic versioned filename- cp "$PORTABLE_SRC" "$PORTABLE_FILE_NAME"- echo "Portable exe: $PORTABLE_SRC -> $PORTABLE_FILE_NAME"echo "::set-output name=WIN_SIG::$WIN_SIG"echo "::set-output name=FILE_NAME::$FILE_NAME"echo "::set-output name=MSI_FILE_NAME::$MSI_FILE"- echo "::set-output name=PORTABLE_FILE_NAME::$PORTABLE_FILE_NAME"+ # echo "::set-output name=PORTABLE_FILE_NAME::$PORTABLE_FILE_NAME"id: metadata## Upload to s3 for nightly and beta@@ -329,13 +317,13 @@ jobs:asset_name: ${{ steps.metadata.outputs.FILE_NAME }}asset_content_type: application/octet-stream- - name: Upload portable exe to release (github)- if: inputs.public_provider == 'github'- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- uses: actions/[email protected]- with:- upload_url: ${{ inputs.upload_url }}- asset_path: ./src-tauri/target/release/${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}- asset_name: ${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}- asset_content_type: application/octet-stream+ # - name: Upload portable exe to release (github)+ # if: inputs.public_provider == 'github'+ # env:+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # uses: actions/[email protected]+ # with:+ # upload_url: ${{ inputs.upload_url }}+ # asset_path: ./src-tauri/target/release/${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}+ # asset_name: ${{ steps.metadata.outputs.PORTABLE_FILE_NAME }}+ # asset_content_type: application/octet-stream