From ca2967df6d1b7f0f80c24a07804d0240d6b7cb75 Mon Sep 17 00:00:00 2001 From: VibeProgramm Date: Mon, 7 Sep 2026 01:54:56 +0300 Subject: [PATCH] ci: replace PyPI publish with GitHub Releases on tags (fork cannot own the kwin-mcp PyPI name) --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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