diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3789161..9a517ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,16 +57,18 @@ jobs: name: dist path: dist/ - publish: - if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'VibeProgramm/kwin-mcp' + release: + if: startsWith(github.ref, 'refs/tags/v') needs: [lint, type-check, test, build] runs-on: ubuntu-latest - environment: pypi permissions: - id-token: write + contents: write steps: - uses: actions/download-artifact@v8 with: name: dist path: dist/ - - uses: pypa/gh-action-pypi-publish@v1.14.2 + - uses: softprops/action-gh-release@v3 + with: + files: dist/* + generate_release_notes: true