Skip to content

Commit

Permalink
using the gh-action to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 24, 2025
1 parent 4df4886 commit bffd625
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ permissions:
# This permission is required for trusted publishing.
id-token: write

inputs:
url:
description: 'url of pypi'
required: true
python-version:
description: 'Python version to use for building'
type: string
required: false
default: '3.12'

runs:
using: "composite"
Expand All @@ -38,12 +29,7 @@ runs:
name: dist
path: dist

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: ${inputs.url}
repository-url: https://upload.pypi.org/legacy/

0 comments on commit bffd625

Please sign in to comment.