Skip to content

Commit e7f5f83

Browse files
authored
ci: fix env reference in publish (#295)
1 parent 6a5d192 commit e7f5f83

File tree

5 files changed

+13
-96
lines changed

5 files changed

+13
-96
lines changed

.github/workflows/_changelog_entry_check.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Changelog entry check
33
on:
44
workflow_call:
55

6+
env:
7+
PYTHON_VERSION: 3.12
8+
69
jobs:
710
check_changelog_entry:
811
name: Changelog entry check
912
runs-on: ubuntu-latest
1013
if: (!startsWith(github.event.pull_request.title, 'docs:'))
11-
env:
12-
PYTHON_VERSION: 3.12
1314

1415
steps:
1516
- name: Checkout repository

.github/workflows/_publish_to_pypi.yaml

Lines changed: 0 additions & 87 deletions
This file was deleted.

.github/workflows/_version_conflict_check.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Version conflict check
33
on:
44
workflow_call:
55

6+
env:
7+
PYTHON_VERSION: 3.12
8+
69
jobs:
710
check_version_conflict:
811
name: Version conflict check
912
runs-on: ubuntu-latest
1013
if: (!startsWith(github.event.pull_request.title, 'docs:'))
11-
env:
12-
PYTHON_VERSION: 3.12
1314

1415
steps:
1516
- name: Checkout repository

.github/workflows/build_and_deploy_docs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
workflow_dispatch:
88

9+
env:
10+
NODE_VERSION: 20
11+
PYTHON_VERSION: 3.12
12+
913
jobs:
1014
build_and_deploy_docs:
1115
environment:
@@ -15,9 +19,6 @@ jobs:
1519
pages: write
1620
id-token: write
1721
runs-on: ubuntu-latest
18-
env:
19-
NODE_VERSION: 20
20-
PYTHON_VERSION: 3.12
2122

2223
steps:
2324
- name: Checkout repository

.github/workflows/run_release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ on:
2525
- beta
2626
- final
2727

28+
env:
29+
PYTHON_VERSION: 3.12
30+
2831
jobs:
2932
should_release:
3033
name: Check whether to release
3134
if: (!startsWith(github.event.head_commit.message, 'docs:') || github.event_name == 'workflow_dispatch')
3235
runs-on: ubuntu-latest
33-
env:
34-
PYTHON_VERSION: 3.12
3536
steps:
3637
- name: Dummy step
3738
run: "true"

0 commit comments

Comments
 (0)