Skip to content

Commit 8f4ed0f

Browse files
committed
Fix syntax
1 parent 4ecd561 commit 8f4ed0f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test_and_release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
if: startsWith(github.ref, 'refs/tags/v')
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@master
45+
- uses: actions/checkout@v2
4646
- name: Set up Python 3.7
4747
uses: actions/setup-python@v2
4848
with:
@@ -55,8 +55,9 @@ jobs:
5555
run: |
5656
python setup.py sdist bdist_wheel
5757
- name: Publish distribution 📦 to PyPI
58-
with:
59-
password: ${{ secrets.PYPI_API_TOKEN }}
58+
env:
59+
TWINE_USERNAME: __token__
60+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
6061
run: |
6162
twine upload dist/*
6263
- name: Upload release to github

0 commit comments

Comments
 (0)