Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: fix test-done job condition (#5784)

LongYinand23f8f8087c5
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index a6ca98d2bf..676b82b761 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -572,7 +572,10 @@ jobs:
- server-test
- server-e2e-test
- desktop-test
+ if: always()
runs-on: ubuntu-latest
+ name: 3, 2, 1 Launch
steps:
- - name: Done
- run: echo "Done"
+ - run: exit 1
+ # Thank you, next https://github.com/vercel/next.js/blob/canary/.github/workflows/build_and_test.yml#L379
+ if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}