CI test add clean jan folder and revert download url notification on discord (#2690)
Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
parent
c0949b2d7e
commit
bb567ce8c4
@ -54,6 +54,7 @@ jobs:
|
|||||||
- name: "Cleanup cache"
|
- name: "Cleanup cache"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf ~/jan
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Get Commit Message for PR
|
- name: Get Commit Message for PR
|
||||||
@ -98,6 +99,7 @@ jobs:
|
|||||||
- name: "Cleanup cache"
|
- name: "Cleanup cache"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf ~/jan
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
@ -131,6 +133,12 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
$path = "$Env:APPDATA\jan"
|
||||||
|
if (Test-Path $path) {
|
||||||
|
Remove-Item "\\?\$path" -Recurse -Force
|
||||||
|
} else {
|
||||||
|
Write-Output "Folder does not exist."
|
||||||
|
}
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Get Commit Message for push event
|
- name: Get Commit Message for push event
|
||||||
@ -173,6 +181,12 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
$path = "$Env:APPDATA\jan"
|
||||||
|
if (Test-Path $path) {
|
||||||
|
Remove-Item "\\?\$path" -Recurse -Force
|
||||||
|
} else {
|
||||||
|
Write-Output "Folder does not exist."
|
||||||
|
}
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Get Commit Message for PR
|
- name: Get Commit Message for PR
|
||||||
@ -216,6 +230,12 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
$path = "$Env:APPDATA\jan"
|
||||||
|
if (Test-Path $path) {
|
||||||
|
Remove-Item "\\?\$path" -Recurse -Force
|
||||||
|
} else {
|
||||||
|
Write-Output "Folder does not exist."
|
||||||
|
}
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
@ -243,6 +263,7 @@ jobs:
|
|||||||
- name: "Cleanup cache"
|
- name: "Cleanup cache"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf ~/jan
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Get Commit Message for PR
|
- name: Get Commit Message for PR
|
||||||
@ -289,6 +310,7 @@ jobs:
|
|||||||
- name: "Cleanup cache"
|
- name: "Cleanup cache"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf ~/jan
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
|
|||||||
@ -47,11 +47,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
Jan App ${{ inputs.build_reason }} build artifact version {{ VERSION }}:
|
Jan App ${{ inputs.build_reason }} build artifact version {{ VERSION }}:
|
||||||
- Windows: https://app.jan.ai/download/nightly/win-x64
|
- Windows: https://delta.jan.ai/latest/jan-win-x64-{{ VERSION }}.exe
|
||||||
- macOS Intel: https://app.jan.ai/download/nightly/mac-x64
|
- macOS Intel: https://delta.jan.ai/latest/jan-mac-x64-{{ VERSION }}.dmg
|
||||||
- macOS Apple Silicon: https://app.jan.ai/download/nightly/mac-arm64
|
- macOS Apple Silicon: https://delta.jan.ai/latest/jan-mac-arm64-{{ VERSION }}.dmg
|
||||||
- Linux Deb: https://app.jan.ai/download/nightly/linux-amd64-deb
|
- Linux Deb: https://delta.jan.ai/latest/jan-linux-amd64-{{ VERSION }}.deb
|
||||||
- Linux AppImage: https://app.jan.ai/download/nightly/linux-amd64-appimage
|
- 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 }}
|
- Github action run: https://github.com/janhq/jan/actions/runs/{{ GITHUB_RUN_ID }}
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
Loading…
x
Reference in New Issue
Block a user