Skip to content

Commit 698bf1e

Browse files
nevermind release and pypi are the same
1 parent c44c994 commit 698bf1e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
name: wheels-${{ matrix.os }}
5555
path: dist/
5656

57-
release-pypi:
57+
release:
5858
needs: build-wheels
5959
runs-on: ubuntu-latest
60-
environment: release-pypi
60+
environment: release
6161
steps:
6262
- uses: actions/checkout@v4
6363

@@ -77,24 +77,6 @@ jobs:
7777
export UV_PUBLISH_USERNAME="__token__"
7878
uv publish --publish-url https://upload.pypi.org/legacy/ --keyring-provider disabled
7979
80-
81-
release-github:
82-
if: startsWith(github.ref, 'refs/tags/')
83-
needs: build-wheels
84-
runs-on: ubuntu-latest
85-
environment: release-github
86-
permissions:
87-
contents: write
88-
steps:
89-
- uses: actions/checkout@v4
90-
91-
- name: Download All Artifacts
92-
uses: actions/download-artifact@v4
93-
with:
94-
path: dist
95-
merge-multiple: true
96-
pattern: wheels-*
97-
9880
- name: Make github release
9981
uses: softprops/action-gh-release@v2
10082
with:

0 commit comments

Comments
 (0)