Skip to content

Commit feaaccb

Browse files
committed
specify python version for publish process to avoid incompatible with pytest
1 parent 986253a commit feaaccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121

2222
# The type of runner that the job will run on
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-latest
2424

2525
# Steps represent a sequence of tasks that will be executed as part of the job
2626
steps:
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Python 3.x
3131
uses: actions/setup-python@v1
3232
with:
33-
python-version: '3.x'
33+
python-version: '3.10'
3434

3535
- name: Display Python version
3636
run: python -c "import sys; print(sys.version)"

0 commit comments

Comments
 (0)