We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b2249 commit 8349576Copy full SHA for 8349576
.github/workflows/ci.yml
@@ -5,6 +5,9 @@ on:
5
branches:
6
- main
7
pull_request:
8
+ release:
9
+ types:
10
+ - published
11
workflow_dispatch:
12
13
permissions:
@@ -108,3 +111,23 @@ jobs:
108
111
with:
109
112
name: wheels
110
113
path: dist
114
+
115
116
+ name: Release
117
+ environment: release
118
+ permissions:
119
+ id-token: write
120
+ runs-on: ubuntu-latest
121
+ needs: [linux, windows, macos, sdist]
122
+ if: github.event.action == 'published'
123
+ steps:
124
+ - uses: actions/download-artifact@v3
125
+ with:
126
+ name: wheels
127
+ path: dist
128
129
+ - name: Publish to PyPI
130
+ uses: PyO3/maturin-action@v1
131
132
+ command: upload
133
+ args: --non-interactive --skip-existing dist/*
0 commit comments