Skip to content

Commit

Permalink
Update publish_pypi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypinkard authored Jul 13, 2024
1 parent 5daff94 commit 361f13c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -21,5 +24,7 @@ jobs:
- name: Install package dependencies
run: |
pip install .
- name: Build and publish
run: flit publish
- name: Build package
run: flit build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 361f13c

Please sign in to comment.