Skip to content

Commit

Permalink
deployment file fix
Browse files Browse the repository at this point in the history
  • Loading branch information
llegregam committed Nov 2, 2023
1 parent 88b16b8 commit b855308
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/pypi_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ on:
- v*

jobs:
build:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://https://pypi.org/project/IsoCor/
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
Expand All @@ -29,15 +34,5 @@ jobs:
--sdist
--wheel
--outdir dist/
pypi-publish:
name: Publish distribution 📦 to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://https://pypi.org/project/IsoCor/
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit b855308

Please sign in to comment.