Skip to content

Commit e714832

Browse files
authored
Merge pull request #244 from adafruit/update-imagemagick-identify
Update validate.yml for ImageMagick action v6
2 parents a4b3678 + 54a06ba commit e714832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
FILES: ${{ needs.gather-relevant-files.outputs.files }}
185185
steps:
186186
- uses: actions/checkout@v3
187-
- uses: mfinelli/setup-imagemagick@v2
187+
- uses: mfinelli/setup-imagemagick@v6
188188
- name: Validate Image Dimensions
189189
run: |
190190
EXIT_VALUE=0
@@ -201,8 +201,8 @@ jobs:
201201
fi
202202
203203
# use imagemagick to pull the dimensions
204-
WIDTH=`identify -ping -format "%w" ${FILE}[0]`
205-
HEIGHT=`identify -ping -format "%h" ${FILE}[0]`
204+
WIDTH=`magick identify -ping -format "%w" ${FILE}[0]`
205+
HEIGHT=`magick identify -ping -format "%h" ${FILE}[0]`
206206
EXPECTED_HEIGHT=$(("$WIDTH"*3/4))
207207
208208
NOT_4_3_RATIO=false

0 commit comments

Comments
 (0)