From dad831105facfba7bcc15cd0b18a595b880da817 Mon Sep 17 00:00:00 2001 From: Felix Divo Date: Tue, 18 Jun 2024 21:49:14 +0000 Subject: [PATCH] Abandon deploy-to-pypi --- .github/workflows/python-release.yaml | 52 ++++++++++++++------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/workflows/python-release.yaml b/.github/workflows/python-release.yaml index f5946d6..3c38cb6 100644 --- a/.github/workflows/python-release.yaml +++ b/.github/workflows/python-release.yaml @@ -20,31 +20,35 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Create GitHub Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Release ${{ github.ref }} - draft: false + body: | + TODO: Add release notes + draft: true prerelease: false - deploy-to-pypi: - needs: add-github-release # This is important to keep things in sync - name: Deploy as PyPI Package - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.x' # The latest stable version of CPython 3 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - - name: Build package - run: python -m build ros2_easy_test - - name: Publish package - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # Version v1.8.14 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + # This was discontinued because the ROS2 packaging system is enough + # + # deploy-to-pypi: + # needs: add-github-release # This is important to keep things in sync + # name: Deploy as PyPI Package + # runs-on: ubuntu-latest + # steps: + # - name: Checkout repository + # uses: actions/checkout@v4 + # - name: Set up Python + # uses: actions/setup-python@v5 + # with: + # python-version: '3.x' # The latest stable version of CPython 3 + # - name: Install dependencies + # run: | + # python -m pip install --upgrade pip + # pip install build + # - name: Build package + # run: python -m build ros2_easy_test + # - name: Publish package + # uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # Version v1.8.14 + # with: + # user: __token__ + # password: ${{ secrets.PYPI_API_TOKEN }}