Skip to content

Commit

Permalink
uncomment workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
roeger committed Dec 18, 2024
1 parent ea1bb03 commit 6c8c3cc
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,31 +132,31 @@ jobs:
$env:PIP_FIND_LINKS='${{ github.workspace }}\dist'; tox -e unified-planning
deploy-pypi:
runs-on: ubuntu-latest
needs: [run-tox-test, run-tox-test-windows]
if: github.ref == 'refs/heads/main' # We only deploy on master commits

steps:
- uses: actions/download-artifact@master
with:
name: cibw-wheels-ubuntu-latest
path: dist

- uses: actions/download-artifact@master
with:
name: cibw-wheels-windows-latest
path: dist

- uses: actions/download-artifact@master
with:
name: cibw-wheels-macos-13
path: dist

- run: ls dist

- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# deploy-pypi:
# runs-on: ubuntu-latest
# needs: [run-tox-test, run-tox-test-windows]
# if: github.ref == 'refs/heads/main' # We only deploy on master commits
#
# steps:
# - uses: actions/download-artifact@master
# with:
# name: cibw-wheels-ubuntu-latest
# path: dist
#
# - uses: actions/download-artifact@master
# with:
# name: cibw-wheels-windows-latest
# path: dist
#
# - uses: actions/download-artifact@master
# with:
# name: cibw-wheels-macos-13
# path: dist
#
# - run: ls dist
#
# - name: Upload to PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 6c8c3cc

Please sign in to comment.