Skip to content

Commit

Permalink
Abandon deploy-to-pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdivo committed Jun 18, 2024
1 parent d89c7e3 commit 761fd39
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions .github/workflows/python-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 761fd39

Please sign in to comment.