Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 37101ee

Browse files
authored
Correct condition for nighty build to trigger noti-discord (#228)
Co-authored-by: Hien To <hien@jan.ai>
1 parent 9538a7c commit 37101ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ jobs:
344344
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
345345
with:
346346
name: nitro-win-amd64
347-
path: ./nitro
347+
path: ./build/Release
348348

349349
- name: Run e2e testing
350350
shell: cmd
@@ -415,7 +415,7 @@ jobs:
415415
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
416416
with:
417417
name: nitro-win-amd64
418-
path: ./nitro
418+
path: ./build/Release
419419

420420
- name: run e2e testing
421421
shell: cmd
@@ -446,8 +446,8 @@ jobs:
446446
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
447447

448448
noti-discord:
449-
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
450-
needs: [ubuntu-amd64-build, ubuntu-amd64-cuda-build, macOS-M-build, macOS-Intel-build, windows-amd64-build, windows-amd64-cuda-build]
449+
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.ubuntu-amd64-build.result == 'success' && needs.ubuntu-amd64-cuda-build.result == 'success' && needs.macOS-M-build.result == 'success' && needs.macOS-Intel-build.result == 'success' && needs.windows-amd64-build.result == 'success' && needs.windows-amd64-cuda-build.result == 'success'
450+
needs: [create-draft-release, ubuntu-amd64-build, ubuntu-amd64-cuda-build, macOS-M-build, macOS-Intel-build, windows-amd64-build, windows-amd64-cuda-build]
451451
runs-on: ubuntu-latest
452452
steps:
453453
- name: Notify Discord

0 commit comments

Comments
 (0)