Skip to content

Commit b8de86b

Browse files
authored
Update publish-to-test-pypi.yml
1 parent 53a6e8b commit b8de86b

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ jobs:
1313
with:
1414
python-version: 3.7
1515
- name: Install pypa/build
16-
run: >-
17-
python -m
18-
pip install
19-
build
20-
--user
21-
- name: Build a binary wheel and a source tarball
22-
run: >-
23-
python -m
24-
build
25-
--sdist
26-
--wheel
27-
--outdir dist/
28-
29-
- name: Publish distribution 📦 to Test PyPI
30-
uses: pypa/gh-action-pypi-publish@master
31-
with:
32-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
33-
repository_url: https://test.pypi.org/legacy/
34-
- name: Publish distribution 📦 to PyPI
35-
if: startsWith(github.ref, 'refs/tags')
36-
uses: pypa/gh-action-pypi-publish@master
37-
with:
38-
password: ${{ secrets.PYPI_API_TOKEN }}
16+
run: >-
17+
python -m
18+
pip install
19+
build
20+
--user
21+
- name: Build a binary wheel and a source tarball
22+
run: >-
23+
python -m
24+
build
25+
--sdist
26+
--wheel
27+
--outdir dist/
28+
.
29+
- name: Publish distribution 📦 to Test PyPI
30+
uses: pypa/gh-action-pypi-publish@master
31+
with:
32+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
33+
repository_url: https://test.pypi.org/legacy/
34+
- name: Publish distribution 📦 to PyPI
35+
if: startsWith(github.ref, 'refs/tags')
36+
uses: pypa/gh-action-pypi-publish@master
37+
with:
38+
password: ${{ secrets.PYPI_API_TOKEN }}
3939

4040

0 commit comments

Comments
 (0)