Skip to content

Commit 2e85d32

Browse files
committed
Refactor publish.yml for consistency in quotes and formatting
1 parent b8ad0fa commit 2e85d32

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/publish.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@ name: Publish to PyPI
33
on:
44
push:
55
tags:
6-
- 'v*' # Triggers on version tags like v1.0.1, v2.0.0, etc.
6+
- "v*" # Triggers on version tags like v1.0.1, v2.0.0, etc.
77
release:
88
types: [published]
99

1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13-
13+
1414
steps:
15-
- uses: actions/checkout@v4
16-
17-
- name: Set up Python
18-
uses: actions/setup-python@v4
19-
with:
20-
python-version: '3.x'
21-
22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install build twine
26-
27-
- name: Build package
28-
run: python -m build
29-
30-
- name: Publish to PyPI
31-
env:
32-
TWINE_USERNAME: __token__
33-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34-
run: twine upload dist/*
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: "3.x"
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install build twine
26+
27+
- name: Build package
28+
run: python -m build
29+
30+
- name: Publish to PyPI
31+
env:
32+
TWINE_USERNAME: __token__
33+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34+
run: twine upload dist/*

0 commit comments

Comments
 (0)