Skip to content

Commit

Permalink
back to using previous workflow for uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Aug 24, 2024
1 parent 6c4b9bf commit ba98f0f
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ jobs:

runs-on: ubuntu-latest

environment:
name: frads
url: https://pypi.org/p/frads
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -37,10 +29,8 @@ jobs:
pip install build
- name: Build package
run: python -m build
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit ba98f0f

Please sign in to comment.