mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
enhance: prevent deploy when e2e failed
This commit is contained in:
13
.github/workflows/deploy-db-test-pages.yml
vendored
13
.github/workflows/deploy-db-test-pages.yml
vendored
@@ -14,6 +14,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: e2e-success
|
||||
path: .
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check E2E success
|
||||
run: |
|
||||
if [ ! -f e2e-success.txt ]; then
|
||||
echo "❌ E2E tests did not succeed — aborting release."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Java JDK
|
||||
|
||||
Reference in New Issue
Block a user