Skip to content

Commit d9ac34c

Browse files
committed
[GHA] use different secret for testpypi, pkg only from 3.8
1 parent 883bd42 commit d9ac34c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.8", "3.9"]
15+
python-version: ["3.8"]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.github/workflows/testpypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.8", "3.9"]
15+
python-version: ["3.8"]
1616

1717
steps:
1818
- uses: actions/checkout@v2
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build and publish
2828
env:
2929
TWINE_USERNAME: __token__
30-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
30+
TWINE_PASSWORD: ${{ secrets.TESTPYPI_API_TOKEN }}
3131
run: |
3232
python setup.py sdist bdist_wheel
3333
twine upload --repository testpypi dist/*

0 commit comments

Comments
 (0)