Skip to content

Commit

Permalink
chore: replace pup with sed
Browse files Browse the repository at this point in the history
  • Loading branch information
robproject committed Oct 22, 2023
1 parent 7c57116 commit 1be25f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
run: |
pip install ansi2html
cat diff_output.txt | ansi2html > diff_output.html
sudo apt install -y pup
pup 'body' < diff_output.html > body_content.html
sed -n '/<body>/,/<\/body>/p' diff_output.html | sed '1d;$d' > body_content.html
- name: Post comment
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 1be25f7

Please sign in to comment.