diff --git a/.github/workflows/jan-electron-linter-and-test.yml b/.github/workflows/jan-electron-linter-and-test.yml index 9dd8cca8d5..14d4f4f4ed 100644 --- a/.github/workflows/jan-electron-linter-and-test.yml +++ b/.github/workflows/jan-electron-linter-and-test.yml @@ -54,6 +54,7 @@ jobs: - name: "Cleanup cache" continue-on-error: true run: | + rm -rf ~/jan make clean - name: Get Commit Message for PR @@ -98,6 +99,7 @@ jobs: - name: "Cleanup cache" continue-on-error: true run: | + rm -rf ~/jan make clean - name: Linter and test @@ -131,6 +133,12 @@ jobs: shell: powershell continue-on-error: true run: | + $path = "$Env:APPDATA\jan" + if (Test-Path $path) { + Remove-Item "\\?\$path" -Recurse -Force + } else { + Write-Output "Folder does not exist." + } make clean - name: Get Commit Message for push event @@ -173,6 +181,12 @@ jobs: shell: powershell continue-on-error: true run: | + $path = "$Env:APPDATA\jan" + if (Test-Path $path) { + Remove-Item "\\?\$path" -Recurse -Force + } else { + Write-Output "Folder does not exist." + } make clean - name: Get Commit Message for PR @@ -216,6 +230,12 @@ jobs: shell: powershell continue-on-error: true run: | + $path = "$Env:APPDATA\jan" + if (Test-Path $path) { + Remove-Item "\\?\$path" -Recurse -Force + } else { + Write-Output "Folder does not exist." + } make clean - name: Linter and test @@ -243,6 +263,7 @@ jobs: - name: "Cleanup cache" continue-on-error: true run: | + rm -rf ~/jan make clean - name: Get Commit Message for PR @@ -289,6 +310,7 @@ jobs: - name: "Cleanup cache" continue-on-error: true run: | + rm -rf ~/jan make clean - name: Linter and test diff --git a/.github/workflows/template-noti-discord-and-update-url-readme.yml b/.github/workflows/template-noti-discord-and-update-url-readme.yml index faf22bac4d..c419a3a9ac 100644 --- a/.github/workflows/template-noti-discord-and-update-url-readme.yml +++ b/.github/workflows/template-noti-discord-and-update-url-readme.yml @@ -47,11 +47,11 @@ jobs: with: args: | Jan App ${{ inputs.build_reason }} build artifact version {{ VERSION }}: - - Windows: https://app.jan.ai/download/nightly/win-x64 - - macOS Intel: https://app.jan.ai/download/nightly/mac-x64 - - macOS Apple Silicon: https://app.jan.ai/download/nightly/mac-arm64 - - Linux Deb: https://app.jan.ai/download/nightly/linux-amd64-deb - - Linux AppImage: https://app.jan.ai/download/nightly/linux-amd64-appimage + - Windows: https://delta.jan.ai/latest/jan-win-x64-{{ VERSION }}.exe + - macOS Intel: https://delta.jan.ai/latest/jan-mac-x64-{{ VERSION }}.dmg + - macOS Apple Silicon: https://delta.jan.ai/latest/jan-mac-arm64-{{ VERSION }}.dmg + - Linux Deb: https://delta.jan.ai/latest/jan-linux-amd64-{{ VERSION }}.deb + - Linux AppImage: https://delta.jan.ai/latest/jan-linux-x86_64-{{ VERSION }}.AppImage - Github action run: https://github.com/janhq/jan/actions/runs/{{ GITHUB_RUN_ID }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} \ No newline at end of file