Skip to content

Commit 98c6773

Browse files
committed
refactor: standardize indentation in PyPI publish workflow
1 parent 7e59cb8 commit 98c6773

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
name: Publish to PyPI
22

33
on:
4-
release:
5-
types: [published]
6-
workflow_dispatch:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
77

88
jobs:
9-
build-and-publish:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout source
13-
uses: actions/checkout@v4
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout source
13+
uses: actions/checkout@v4
1414

15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
18-
python-version: "3.11"
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
1919

20-
- name: Install build tooling
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install build
20+
- name: Install build tooling
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install build
2424
25-
- name: Build distribution artifacts
26-
run: python -m build
25+
- name: Build distribution artifacts
26+
run: python -m build
2727

28-
- name: Publish package to PyPI
29-
uses: pypa/gh-action-pypi-publish@release/v1
30-
with:
31-
user: __token__
32-
password: ${{ secrets.PYPI_API_TOKEN }}
28+
- name: Publish package to PyPI
29+
uses: pypa/gh-action-pypi-publish@release/v1
30+
with:
31+
user: __token__
32+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)