Skip to content

Commit 5afce45

Browse files
authored
ackshually fix
1 parent bbfdd56 commit 5afce45

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/release.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@ jobs:
3434
uses: softprops/action-gh-release@v2
3535
with:
3636
files: ./dist/*
37+
38+
publish:
39+
if: startsWith(github.ref, 'refs/tags/v')
40+
name: Publish package to PyPI
41+
runs-on: ubuntu-latest
42+
environment: release
43+
steps:
44+
- name: Download sdist artifact
45+
uses: actions/download-artifact@v6
46+
with:
47+
name: sdist
48+
path: ./dist
49+
50+
- name: Download wheels artifact
51+
uses: actions/download-artifact@v6
52+
with:
53+
name: wheels
54+
path: ./dist
3755

38-
publish:
39-
if: startsWith(github.ref, 'refs/tags/v')
40-
name: Publish package to PyPI
41-
runs-on: ubuntu-latest
42-
environment: release
43-
steps:
44-
- name: Download sdist artifact
45-
uses: actions/download-artifact@v6
46-
with:
47-
name: sdist
48-
path: ./dist
49-
50-
- name: Download wheels artifact
51-
uses: actions/download-artifact@v6
52-
with:
53-
name: wheels
54-
path: ./dist
55-
56-
- name: Upload distributions to PyPI
57-
uses: pypa/gh-action-pypi-publish@release/v1
58-
with:
59-
user: __token__
60-
password: ${{ secrets.PYPI_TOKEN }}
61-
skip-existing: true
62-
attestations: false
56+
- name: Upload distributions to PyPI
57+
uses: pypa/gh-action-pypi-publish@release/v1
58+
with:
59+
user: __token__
60+
password: ${{ secrets.PYPI_TOKEN }}
61+
skip-existing: true
62+
attestations: false
6363

0 commit comments

Comments
 (0)