Skip to content

Commit 1ec6c47

Browse files
committed
feat: publish release at GitHub
1 parent 28e5add commit 1ec6c47

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,3 +248,17 @@ jobs:
248248
with:
249249
command: upload
250250
args: --non-interactive --skip-existing wheels-*/*
251+
252+
release_github:
253+
runs-on: ubuntu-latest
254+
name: Create release on GitHub
255+
permissions:
256+
contents: write
257+
needs: [linux, musllinux, windows, macos, sdist]
258+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
259+
steps:
260+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
261+
- uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
262+
with:
263+
generateReleaseNotes: true
264+
artifacts: wheels-*/*

0 commit comments

Comments
 (0)