From 44e80dbbc8909f82e119311da69d01f03d5769f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Rasmusson?= Date: Thu, 18 Jan 2024 18:16:19 +0100 Subject: [PATCH] [Python] Reuse the action-publish-pypi in release-pypi.yaml (#147) * [Python] Reuse the action-publish-pypi in release-pypi.yaml * Fix Changelog.md --- .github/workflows/release-pypi.yaml | 17 ++--------------- CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release-pypi.yaml b/.github/workflows/release-pypi.yaml index 01a92760..366e264f 100644 --- a/.github/workflows/release-pypi.yaml +++ b/.github/workflows/release-pypi.yaml @@ -26,19 +26,6 @@ jobs: - name: Show Python version run: python --version - - name: Install Python package dependencies - run: | - python -m pip install -U pip setuptools wheel twine - pip install -e . - - - name: Build dist - run: python setup.py sdist bdist_wheel - - - name: Check dist - run: twine check dist/* - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + - uses: cucumber/action-publish-pypi@v2.0.0 with: - packages-dir: python/dist/ - skip-existing: true \ No newline at end of file + working-directory: "python" diff --git a/CHANGELOG.md b/CHANGELOG.md index aff3777f..251b8722 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Changed +- [Python] Reuse the action cucumber/action-publish-pypi in release ([#147](https://github.com/cucumber/tag-expressions/pull/147)) ## [6.1.0] - 2024-01-10 ### Added