Skip to content

Commit c997a99

Browse files
authored
Merge pull request #41 from baidu/yangxp-patch-3
Update python-publish.yml
2 parents e23f433 + 4fdfe72 commit c997a99

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,20 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
ref: 'main'
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.6.7'
26+
python-version: '3.x'
2727

2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
3131
pip install setuptools wheel twine
3232
33-
34-
3533
- name: Publish package
3634
env:
3735
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)