Skip to content

Commit

Permalink
Use classic PyPI deployment strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Dec 11, 2024
1 parent 27a1fa4 commit ed3b17f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,13 @@ env:
PYTHON_VERSION: 3.13

jobs:
py-release:
pypi-release:
name: Build and release Python package
runs-on: ubuntu-latest

# Python release tags start with "py/v*"
if: startsWith(github.ref, 'refs/tags/py/v')

environment:
name: pypi
url: https://pypi.org/project/chatlas/

permissions: # for trusted publishing
id-token: write

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -51,3 +44,6 @@ jobs:

- name: 🚢 Publish release on PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
File renamed without changes.

0 comments on commit ed3b17f

Please sign in to comment.