Skip to content

Commit

Permalink
Optimize PNGs in screenshots workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Jul 11, 2024
1 parent 39b7735 commit 05af197
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
distribution: "temurin"
cache: 'gradle'

- name: Install OptiPNG
run: sudo apt install optipng

- name: Setup Python dependencies for the screenshot server
run: python -m pip install flask

Expand All @@ -41,6 +44,9 @@ jobs:
- name: Print git status
run: git status

- name: Optimize PNGs
run: optipng fastlane/metadata/android/**/images/phoneScreenshots/*.png

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit 05af197

Please sign in to comment.