Skip to content

Commit

Permalink
Merge pull request #148 from Skyscanner/trusted-publishers
Browse files Browse the repository at this point in the history
update pypi-release.yml file to configure trusted publishers
  • Loading branch information
Keira-Crafts authored Aug 29, 2024
2 parents 682133b + 470e61b commit 812f4c4
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 34 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:

jobs:
build:
name: Upload release to PyPI
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/pycfmodel
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -25,5 +30,3 @@ jobs:

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}
Loading

0 comments on commit 812f4c4

Please sign in to comment.