Skip to content

Commit f6fb649

Browse files
#2087 updating release job to use a more recent version of actions/setup-python
1 parent 1e52a02 commit f6fb649

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@master
13-
- name: Set up Python 3.8
14-
uses: actions/setup-python@v2
13+
- name: Set up Python 3.11
14+
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.8
16+
python-version: 3.11
1717
- name: Install pypa/build
1818
run: >-
1919
python -m
@@ -33,5 +33,5 @@ jobs:
3333
with:
3434
user: __token__
3535
password: ${{ secrets.CGALLO_PYPI }}
36-
repository_url: https://upload.pypi.org/legacy/
36+
repository-url: https://upload.pypi.org/legacy/
3737

.github/workflows/test_pypi_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
22

3-
name: Publish 📦 to TestPyPI
3+
name: TEST Publish 📦 to TestPyPI
44

55
on:
66
push:
7-
branches: [test-pypi ]
7+
branches: [test-pypi]
88

99
jobs:
1010
build-n-publish:
11-
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
11+
name: TEST Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@master
15-
- name: Set up Python 3.8
16-
uses: actions/setup-python@v2
15+
- name: Set up Python 3.11
16+
uses: actions/setup-python@v4
1717
with:
18-
python-version: 3.8
18+
python-version: 3.11
1919
- name: Install pypa/build
2020
run: >-
2121
python -m
@@ -34,4 +34,4 @@ jobs:
3434
uses: pypa/gh-action-pypi-publish@master
3535
with:
3636
password: ${{ secrets.CGALLO_TEST_PYPI }}
37-
repository_url: https://test.pypi.org/legacy/
37+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)