Skip to content

Commit

Permalink
CI user-manual: bump python to 3.11 and setup-python to v5
Browse files Browse the repository at this point in the history
Also remove single-point build matrix from the workflow.
  • Loading branch information
andreasabel committed Dec 11, 2023
1 parent 2a0a3da commit 02eb3a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/user_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
######################################################
jobs:
build:
env:
python-version: '3.11'
if: |
!contains(github.event.head_commit.message, '[skip ci]')
&& !contains(github.event.head_commit.message, '[ci skip]')
Expand All @@ -15,10 +17,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install dependencies
run: |
pip install -r doc/user-manual/requirements.txt
Expand All @@ -41,10 +43,6 @@ jobs:
with:
name: user-manual-pdf
path: doc/user-manual.pdf
strategy:
matrix:
python-version:
- '3.10'
name: User Manual
'on':
pull_request:
Expand Down
11 changes: 5 additions & 6 deletions src/github/workflows/user_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:
&& !contains(github.event.head_commit.message, '[skip github]')
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.10']
env:
python-version: '3.11'
steps:

- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit 02eb3a9

Please sign in to comment.