Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): prevent release if sanity checks fail

Elian Doran104c9ec64a07
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0984726483..02a748b0de 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,6 +28,8 @@ jobs:
run: pnpm tsx ${{ github.workspace }}/scripts/check-version-consistency.ts ${{ github.ref_name }}
make-electron:
name: Make Electron
+ needs:
+ - sanity-check
strategy:
fail-fast: false
matrix:
@@ -95,6 +97,8 @@ jobs:
build_server:
name: Build Linux Server
+ needs:
+ - sanity-check
strategy:
fail-fast: false
matrix: