Skip to content

Commit eda27bd

Browse files
lijiaqiMarcinWiech
authored andcommitted
explicitly install imagemagick to support ubuntu-latest (>=24.04) in Github actions (alshedivat#2906)
Install `imagemagick` within `Install and Build 🔧` step of Github actions Relevant issue: [alshedivat#2902](alshedivat#2902) `convert` Command Not Found on Ubuntu 24.04 Reason: `ubuntu-latest` in Github actions is pointed to `ubuntu-24.04` now, in which `imagemagick` is no longer pre-installed. See [this](actions/runner-images#10772). Modified files (actions) recommended by @george-gca ``` - .github/workflows/deploy.yml - .github/workflows/broken-links-site.yml - .github/workflows/axe.yml ```
1 parent 2a2935c commit eda27bd

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/axe.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
}
4444
- name: Install and Build 🔧
4545
run: |
46+
sudo apt-get update && sudo apt-get install -y imagemagick
4647
pip3 install --upgrade jupyter
4748
export JEKYLL_ENV=production
4849
bundle exec jekyll build

.github/workflows/broken-links-site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
}
3232
- name: Install and Build 🔧
3333
run: |
34+
sudo apt-get update && sudo apt-get install -y imagemagick
3435
pip3 install --upgrade jupyter
3536
export JEKYLL_ENV=production
3637
bundle exec jekyll build

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
value: ${{ github.repository }}
8787
- name: Install and Build 🔧
8888
run: |
89+
sudo apt-get update && sudo apt-get install -y imagemagick
8990
pip3 install --upgrade nbconvert
9091
export JEKYLL_ENV=production
9192
bundle exec jekyll build

0 commit comments

Comments
 (0)