diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8aabc9..8e15108 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -248,3 +248,17 @@ jobs: with: command: upload args: --non-interactive --skip-existing wheels-*/* + + release_github: + runs-on: ubuntu-latest + name: Create release on GitHub + permissions: + contents: write + needs: [linux, musllinux, windows, macos, sdist] + if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} + steps: + - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + - uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0 + with: + generateReleaseNotes: true + artifacts: wheels-*/*