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.

chore: revert app artifact name for macos linux and windows builds (#5878)

Nguyen Ngoc Minhd8b6b10870b9
diff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.yml
index 44e299de4..20663ea69 100644
--- a/.github/workflows/template-tauri-build-linux-x64.yml
+++ b/.github/workflows/template-tauri-build-linux-x64.yml
@@ -164,14 +164,14 @@ jobs:
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v4
with:
- name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-linux-amd64-${{ inputs.new_version }}.deb
+ name: jan-linux-amd64-${{ inputs.new_version }}-deb
path: ./src-tauri/target/release/bundle/deb/*.deb
- name: Upload Artifact
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v4
with:
- name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-linux-amd64-${{ inputs.new_version }}.AppImage
+ name: jan-linux-amd64-${{ inputs.new_version }}-AppImage
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
## Set output filename for linux
diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.yml
index af14a6555..40cf4e839 100644
--- a/.github/workflows/template-tauri-build-macos.yml
+++ b/.github/workflows/template-tauri-build-macos.yml
@@ -189,7 +189,7 @@ jobs:
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v4
with:
- name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-mac-universal-${{ inputs.new_version }}.dmg
+ name: jan-${{ inputs.channel }}-mac-universal-${{ inputs.new_version }}.dmg
path: |
./src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmg
diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.yml
index d0a86baad..958b7c9f7 100644
--- a/.github/workflows/template-tauri-build-windows-x64.yml
+++ b/.github/workflows/template-tauri-build-windows-x64.yml
@@ -198,7 +198,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
- name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-windows-${{ inputs.new_version }}.exe
+ name: jan-windows-${{ inputs.new_version }}
path: |
./src-tauri/target/release/bundle/nsis/*.exe