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

This commit is contained in:
LongYinan 2024-02-02 05:21:59 +00:00
parent 8f4b4e20ab
commit d23f8f8087
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99

View File

@ -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')) }}