Skip to content

Commit 635df78

Browse files
authored
Format GH action yaml
The indentations were not correct Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 96b6405 commit 635df78

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

.github/workflows/pypi-release.yml

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,20 @@ jobs:
88
build-n-publish:
99
name: Build and publish library to PyPI
1010
runs-on: ubuntu-20.04
11-
12-
steps:
13-
- uses: actions/checkout@master
14-
- name: Set up Python
15-
uses: actions/setup-python@v1
16-
with:
17-
python-version: 3.8
18-
- name: Install pypa/build
19-
run: >-
20-
python -m
21-
pip install
22-
build
23-
--user
24-
- name: Build a binary wheel and a source tarball
25-
run: >-
26-
python -m
27-
build
28-
--sdist
29-
--wheel
30-
--outdir dist/
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Python
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.8
17+
- name: Install pypa/build
18+
run: python -m pip install build --user
19+
- name: Build a binary wheel and a source tarball
20+
run: python -m build --sdist --wheel --outdir dist/
3121
.
32-
- name: Publish distribution to PyPI
33-
if: startsWith(github.ref, 'refs/tags')
34-
uses: pypa/gh-action-pypi-publish@master
35-
with:
36-
password: ${{ secrets.PYPI_API_TOKEN }}
37-
22+
- name: Publish distribution to PyPI
23+
if: startsWith(github.ref, 'refs/tags')
24+
uses: pypa/gh-action-pypi-publish@master
25+
with:
26+
password: ${{ secrets.PYPI_API_TOKEN }}
27+

0 commit comments

Comments
 (0)