Skip to content

Commit

Permalink
fix: updated and added debugging calls to imagemagick installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Formasitchijoh committed Jan 14, 2025
1 parent 7fb243f commit e0c1a5d
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,39 @@ jobs:
with:
pandoc-version: '2.9.2.1'

- name: install imagemagick
# Install the latest version of ImageMagick
- name: Setup ImageMagick
uses: mfinelli/setup-imagemagick@v6
with:
cache: true

# Cache ImageMagick installation
- name: Cache ImageMagick 6
version: latest # Use '6.x.x' or '7.x.x' if you want a specific version
cache: true

# Cache ImageMagick binaries
- name: Cache Latest ImageMagick
uses: actions/cache@v3
with:
path: /usr/bin/identify
key: ${{ runner.os }}-imagemagick6
path: /usr/bin/magick
key: ${{ runner.os }}-imagemagick-latest
restore-keys: |
${{ runner.os }}-imagemagick6
${{ runner.os }}-imagemagick-latest
# Create symlink for identify in case ImageMagick 7 is used
- name: Create symlink for identify
# Create symlink for identify
- name: Create Symlink for identify
run: |
if ! [ -x "$(command -v identify)" ]; then
sudo ln -s $(which magick) /usr/bin/identify
fi
- name: Check identify path
run: magick identify -version
# Debug steps
- name: Check ImageMagick Version
run: magick -version

- name: Verify identify Command
run: identify -version

- name: Testing which imagemagick
run: which convert


- name: setup Redis
uses: supercharge/[email protected]
Expand Down

0 comments on commit e0c1a5d

Please sign in to comment.