mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-24 17:07:40 +08:00
Add failure() check to upload-artifact
This commit is contained in:
@@ -33,7 +33,9 @@ jobs:
|
||||
- uses: microsoft/playwright-github-action@v1.3.0
|
||||
- name: e2e tests (jest+playwright)
|
||||
run: npm run test:jest-e2e -- -ci
|
||||
- uses: actions/upload-artifact@v2
|
||||
- name: Upload artifacts (diff output)
|
||||
uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: diff_output
|
||||
name: diff-output
|
||||
path: ${{ github.workspace }}/tests/**/__diff_output__/*
|
||||
|
||||
Reference in New Issue
Block a user