Skip to content

Commit cfa16ce

Browse files
committed
Renamed action name
1 parent f32299c commit cfa16ce

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1+
name: Publish to PyPI and TestPyPI
22

33
on: push
44

@@ -7,32 +7,32 @@ jobs:
77
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
88
runs-on: ubuntu-18.04
99
steps:
10-
- uses: actions/checkout@master
11-
- name: Set up Python 3.7
12-
uses: actions/setup-python@v1
13-
with:
14-
python-version: 3.7
15-
- name: Install pep517
16-
run: >-
17-
python -m
18-
pip install
19-
pep517
20-
--user
21-
- name: Build a binary wheel and a source tarball
22-
run: >-
23-
python -m
24-
pep517.build
25-
--source
26-
--binary
27-
--out-dir dist/
28-
.
29-
- name: Publish distribution 📦 to Test PyPI
30-
uses: pypa/gh-action-pypi-publish@master
31-
with:
32-
password: ${{ secrets.test_pypi_password }}
33-
repository_url: https://test.pypi.org/legacy/
34-
- name: Publish distribution 📦 to PyPI
35-
if: startsWith(github.event.ref, 'refs/tags')
36-
uses: pypa/gh-action-pypi-publish@master
37-
with:
38-
password: ${{ secrets.pypi_password }}
10+
- uses: actions/checkout@master
11+
- name: Set up Python 3.7
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: 3.7
15+
- name: Install pep517
16+
run: >-
17+
python -m
18+
pip install
19+
pep517
20+
--user
21+
- name: Build a binary wheel and a source tarball
22+
run: >-
23+
python -m
24+
pep517.build
25+
--source
26+
--binary
27+
--out-dir dist/
28+
.
29+
- name: Publish distribution 📦 to Test PyPI
30+
uses: pypa/gh-action-pypi-publish@master
31+
with:
32+
password: ${{ secrets.test_pypi_password }}
33+
repository_url: https://test.pypi.org/legacy/
34+
- name: Publish distribution 📦 to PyPI
35+
if: startsWith(github.event.ref, 'refs/tags')
36+
uses: pypa/gh-action-pypi-publish@master
37+
with:
38+
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)