Skip to content

Commit

Permalink
Update publish-to-pypi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Oct 17, 2024
1 parent 9dd9d41 commit 41c3eda
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest
permissions:
id-token: write
Expand All @@ -29,8 +28,14 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install build
pip install .
- name: Create lock requirements file
run: |
pip list --format=freeze --exclude "benchmarking-asv" > requirements.txt
- name: Install dependencies
run: pip install build
- name: Build package
run: python -m build
- name: Publish package
Expand Down

0 comments on commit 41c3eda

Please sign in to comment.