Skip to content

Commit

Permalink
Merge pull request #7 from frubesss/add-new-logo
Browse files Browse the repository at this point in the history
add n26
  • Loading branch information
frubesss committed Nov 14, 2023
2 parents bce5d57 + 34ed4cd commit a09d432
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/format-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,36 @@ jobs:
with:
ref: ${{ github.head_ref }}

- uses: mfinelli/setup-imagemagick@v1
- uses: mfinelli/setup-imagemagick@v5

- name: Get logo icons changed
id: changed-logo-icons
uses: tj-actions/changed-files@v39
with:
separator: ','
separator: ","
files: |
./logos
./logoIcons
- name: Resize to 200x200
run: |
IFS=$','
vals="${{ steps.changed-logos.outputs.all_changed_and_modified_files }}"
vals="${{ steps.changed-logo-icons.outputs.all_changed_and_modified_files }}"
for file in $vals; do
magick mogrify -resize 200x200 "$file";
done
- name: Convert to png
run: |
IFS=$','
vals="${{ steps.changed-logos.outputs.all_changed_and_modified_files }}"
vals="${{ steps.changed-logo-icons.outputs.all_changed_and_modified_files }}"
for file in $vals; do
magick mogrify -format png "$file";
done
- name: Remove any left over none png images from mogrify command
run: cd ./logoIcons && find . -type f ! -name '*.png' -delete

- name: Compress images
- name: Compress logo icons
uses: calibreapp/image-actions@main
with:
compressOnly: true
Expand Down
Binary file added logoIcons/n26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a09d432

Please sign in to comment.