Skip to content

Commit

Permalink
chore(ci) remove 'nginx.sock' before artifact upload on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Nov 30, 2023
1 parent 51499b4 commit 7946f70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/job-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: './lcov.info'
- run: rm -f t/servroot/html/nginx.sock
if: ${{ failure() && !env.ACT }}
- uses: actions/upload-artifact@v2
if: ${{ failure() && !env.ACT }}
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/job-valgrind-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ jobs:
cat valgrind.log >&2
exit 1
fi
- run: rm -f t/servroot/html/nginx.sock
if: ${{ failure() && !env.ACT }}
- uses: actions/upload-artifact@v2
if: ${{ failure() && !env.ACT }}
with:
Expand Down

0 comments on commit 7946f70

Please sign in to comment.