Skip to content

Commit db39292

Browse files
committed
chore: format yaml with prettier.
1 parent be49250 commit db39292

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/publish-pypi.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,45 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v6
12-
with:
13-
persist-credentials: false
14-
- name: Set up Python
15-
uses: actions/setup-python@v6
16-
with:
17-
python-version: "3.x"
18-
- name: Install pypa/build
19-
run: >-
20-
python3 -m
21-
pip install
22-
build
23-
--user
24-
- name: Build a binary wheel and a source tarball
25-
run: python3 -m build
26-
- name: Store the distribution packages
27-
uses: actions/upload-artifact@v5
28-
with:
29-
name: python-package-distributions
30-
path: dist/
11+
- uses: actions/checkout@v6
12+
with:
13+
persist-credentials: false
14+
- name: Set up Python
15+
uses: actions/setup-python@v6
16+
with:
17+
python-version: "3.x"
18+
- name: Install pypa/build
19+
run: >-
20+
python3 -m
21+
pip install
22+
build
23+
--user
24+
- name: Build a binary wheel and a source tarball
25+
run: python3 -m build
26+
- name: Store the distribution packages
27+
uses: actions/upload-artifact@v5
28+
with:
29+
name: python-package-distributions
30+
path: dist/
3131

3232
publish-to-pypi:
3333
name: >-
3434
Publish Python 🐍 distribution 📦 to PyPI
35-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
35+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
3636
needs:
37-
- build
37+
- build
3838
runs-on: ubuntu-latest
3939
environment:
4040
name: pypi
4141
url: https://pypi.org/p/snakevision
4242
permissions:
43-
id-token: write # IMPORTANT: mandatory for trusted publishing
43+
id-token: write # IMPORTANT: mandatory for trusted publishing
4444

4545
steps:
46-
- name: Download all the dists
47-
uses: actions/download-artifact@v6
48-
with:
49-
name: python-package-distributions
50-
path: dist/
51-
- name: Publish distribution 📦 to PyPI
52-
uses: pypa/gh-action-pypi-publish@release/v1
46+
- name: Download all the dists
47+
uses: actions/download-artifact@v6
48+
with:
49+
name: python-package-distributions
50+
path: dist/
51+
- name: Publish distribution 📦 to PyPI
52+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)