Skip to content

Commit 013c3b5

Browse files
jhlegarretadzenanz
authored andcommitted
ENH: Update GitHub Actions Ubuntu environment version
Update GitHub Actions Ubuntu environment to version `22.04` in the interest of consistency with the rest of the versions used across ITK. Change the Python package names: - Use `python3` instead of `python` - Use `python3-pygments` instead of `python-pygments` as the latter no longer exist in Ubuntu `22.04`: https://packages.ubuntu.com/jammy/python/
1 parent a7f818b commit 013c3b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
build-publish-pdf:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- uses: actions/checkout@v3
@@ -29,7 +29,7 @@ jobs:
2929
curl \
3030
git \
3131
ninja-build \
32-
python
32+
python3
3333
# Using --no-install-recommends greatly reduces the installed packages
3434
sudo apt-get install -y --no-install-recommends \
3535
texlive-latex-base \
@@ -39,8 +39,8 @@ jobs:
3939
ghostscript \
4040
locales \
4141
imagemagick \
42-
python \
43-
python-pygments \
42+
python3 \
43+
python3-pygments \
4444
texlive-latex-recommended \
4545
tex4ht \
4646
texlive-fonts-recommended

0 commit comments

Comments
 (0)