Skip to content

Commit

Permalink
Update publish_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEimer authored Feb 13, 2024
1 parent 6172ed8 commit b5e12d2
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,19 @@ jobs:
name: pypi
url: https://pypi.org/p/carl-bench
steps:
- name: Build
run: $PYTHON setup.py sdist
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_api_token }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_api_token }}

0 comments on commit b5e12d2

Please sign in to comment.