From 555dfba9b5d94ee8c729c2b5dc59b2aacdeac829 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Fri, 24 May 2024 23:17:40 -0600 Subject: [PATCH] ci(release): create GitHub release without publish --- .github/workflows/publish.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0dbbf7b..9266661 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,33 +23,11 @@ jobs: name: python-package-distributions path: dist/ - publish-to-pypi: - name: Publish Python distribution to PyPI - if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes - needs: - - build - runs-on: ubuntu-latest - - environment: - name: pypi - url: https://pypi.org/p/ibis-ml - - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - name: Download all the dists - uses: actions/download-artifact@v3 - with: - name: python-package-distributions - path: dist/ - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - github-release: name: Sign the Python distribution with Sigstore and upload them to GitHub Release + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - - publish-to-pypi + - build runs-on: ubuntu-latest permissions: