Skip to content

Commit

Permalink
Update python-publish.yml (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin005 authored Feb 17, 2024
1 parent ca075d9 commit 33eabf8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
Expand All @@ -34,8 +34,9 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
pip install build
pip install -r requirements.txt
- name: Build package
run: make build
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 33eabf8

Please sign in to comment.