mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 20:41:15 +00:00
ci: reserve test fail status
This commit is contained in:
parent
6ccac47713
commit
7266504a8a
1 changed files with 3 additions and 2 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
|
@ -12,11 +12,12 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- run: npm ci
|
||||
- run: |
|
||||
set -o pipefail
|
||||
mkdir -p ./pr
|
||||
echo ${{ github.event.number }} | tee ./pr/number
|
||||
npm run all | tee ./pr/all_result
|
||||
npm run all |& tee ./pr/all_result
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
if: ${{ github.event_name == 'pull_request' && (success() || failure()) }}
|
||||
with:
|
||||
name: all
|
||||
path: pr/
|
||||
|
|
|
|||
Loading…
Reference in a new issue