Skip to content

Commit a6fe3cb

Browse files
committed
added python version so action will work
1 parent 1766ffb commit a6fe3cb

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/notebooks.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ permissions:
1414
contents: write
1515
pull-requests: write
1616

17+
env:
18+
PYTHON_VERSION: 3.12
19+
1720
jobs:
1821
# Get installs from rye and run rye run clean to format
1922
format:
@@ -27,7 +30,7 @@ jobs:
2730
- uses: ./.github/actions/python-package-shared-setup
2831
with:
2932
rye-version: ${{ vars.RYE_VERSION }}
30-
python-version: ${{ inputs.python-version }}
33+
python-version: ${{ env.PYTHON_VERSION }}
3134
- name: Format
3235
working-directory: examples
3336
run: rye run clean
@@ -69,7 +72,7 @@ jobs:
6972
- uses: ./.github/actions/python-package-shared-setup
7073
with:
7174
rye-version: ${{ vars.RYE_VERSION }}
72-
python-version: ${{ inputs.python-version }}
75+
python-version: ${{ env.PYTHON_VERSION }}
7376
- name: Create readme
7477
working-directory: examples
7578
run: rye run create-readme

.github/workflows/rdme-custompages.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- examples/README.md
1010

11+
env:
12+
PYTHON_VERSION: 3.12
13+
1114
jobs:
1215
custompages:
1316
if: github.event.pull_request.merged == true
@@ -17,7 +20,7 @@ jobs:
1720
- uses: ./.github/actions/python-package-shared-setup
1821
with:
1922
rye-version: ${{ vars.RYE_VERSION }}
20-
python-version: ${{ inputs.python-version }}
23+
python-version: ${{ env.python-version }}
2124
- name: Create readme
2225
working-directory: examples
2326
run: rye run create-doc-readme

0 commit comments

Comments
 (0)