Skip to content

Commit

Permalink
Install Oxipng if it is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jul 28, 2022
1 parent 2e9d09a commit fb64010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ You can losslessy compress the PNGs generated using `shot-scraper` by running th
with:
path: ~/.cargo/
key: ${{ runner.os }}-cargo
- name: Install Oxipng
- name: Install Oxipng if it is not installed
run: |
cargo install oxipng
which oxipng || cargo install oxipng
```

Then after running `shot-scraper` add this step to compress the images:
Expand Down

0 comments on commit fb64010

Please sign in to comment.