Skip to content

Commit 0172af9

Browse files
authored
[ci/cd] add python-version attr required by actions/setup-python@v4 (tomplus#210)
1 parent 8b54424 commit 0172af9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-python@v3
15+
with:
16+
python-version: "3.x"
1517

1618
- name: pip install build
1719
run: |
@@ -29,9 +31,4 @@ jobs:
2931
uses: pypa/gh-action-pypi-publish@release/v1
3032
with:
3133
user: __token__
32-
# The pypi_api_token GitHub secret is configured in
33-
# https://github.com/tomplus/kubernetes_asyncio/settings/secrets/actions
34-
# with the value of a PyPI API token created at
35-
# https://pypi.org/manage/project/kubernetes-asyncio/settings/.
36-
#
3734
password: ${{ secrets.pypi_api_token }}

0 commit comments

Comments
 (0)