Skip to content

Commit

Permalink
build and deploy docs on minimum supported python version
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Oct 7, 2023
1 parent 713c15a commit 0c74d1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
- name: Get python versions
uses: chris48s/satisfying-python@main
id: python-versions

- name: Set up Python ${{ steps.python-versions.outputs.min }}
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{ steps.python-versions.outputs.min }}

- name: Install dependencies
run: |
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
with:
ref: master

- name: Set up Python
- name: Get python versions
uses: chris48s/satisfying-python@main
id: python-versions

- name: Set up Python ${{ steps.python-versions.outputs.min }}
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{ steps.python-versions.outputs.min }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit 0c74d1e

Please sign in to comment.