Skip to content

Commit

Permalink
Update publish_pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElieTaillard committed Apr 13, 2024
1 parent a57b62c commit e8bc764
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,29 @@ on:

permissions:
contents: read
id-token: write

jobs:
build-and-push-package:
build-and-pypi-publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.8
with:
Expand Down

0 comments on commit e8bc764

Please sign in to comment.