Skip to content

Commit

Permalink
make killswitch.log an artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
soyfrien committed May 16, 2022
1 parent 02b4736 commit 582eb24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-swapping20-04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
- name: killswitch-strings
run: wget https://raw.githubusercontent.com/soyfrien/makeswap-on-azure.service/main/.github/workflows/exception-strings
- name: killswitch-log
run: journalctl -xe --unit makeswap-on-azure --no-pager > killswitch.log
run: journalctl -xe --unit makeswap-on-azure --no-pager > ~/.github/artifacts/killswitch.log
- name: killswitch
run: count=$(grep -f exception-strings killswitch.log | wc -l); if [[ $count > 0 ]]; then exit 1; fi
run: count=$(grep -f exception-strings ~/.github/artifacts/killswitch.log | wc -l); if [[ $count > 0 ]]; then exit 1; fi
- uses: actions/upload-artifact@v3
id: upload
with:
Expand Down

0 comments on commit 582eb24

Please sign in to comment.