diff --git a/.github/workflows/screenshots.yml b/.github/workflows/screenshots.yml index 82d52958..3f86551c 100644 --- a/.github/workflows/screenshots.yml +++ b/.github/workflows/screenshots.yml @@ -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 @@ -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: