CI: Fix ImageMagick version in macOS
@@ -77,7 +77,9 @@ jobs:
strategy:
matrix:
ruby-version: [2.6, 2.7]
- imagemagick-version: [6.9.10-90, 7.0.9-20]
+ imagemagick-version:
+ - { full: 6.9.10-90, major-minor: '6.9' }
+ - { full: 7.0.9-20, major-minor: '7.0' }
name: macOS, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
steps:
@@ -86,16 +88,16 @@ jobs:
uses: actions/cache@v1
with:
path: ./build-ImageMagick
- key: v1-macos-imagemagick-${{ matrix.imagemagick-version }}
+ key: v1-macos-imagemagick-${{ matrix.imagemagick-version.full }}
restore-keys: |
- v1-macos-imagemagick-${{ matrix.imagemagick-version }}
+ v1-macos-imagemagick-${{ matrix.imagemagick-version.full }}
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Update/Install packages
run: |
- IMAGEMAGICK_VERSION=${{ matrix.imagemagick-version }} ./before_install_osx.sh
+ IMAGEMAGICK_VERSION=${{ matrix.imagemagick-version.full }} ./before_install_osx.sh
- name: Build and test with Rake
run: |
gem install bundler
