Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Wieczorek committed Jan 17, 2024
1 parent 43ebdbe commit 858b820
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
Expand Down Expand Up @@ -70,16 +70,13 @@ jobs:
# build_wheel $REPO_DIR $PLAT # versioneer does not work with submodules
install_run $PLAT
- name: Upload wheels
env:
# PYPI repository
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# PYPITEST repository
# TWINE_USERNAME: ${{ secrets.PYPITEST_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPITEST_PASSWORD }}
# TWINE_REPOSITORY_URL: 'https://test.pypi.org/legacy/'
run: |
twine upload --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/*
# Upload wheels to PYPITEST
#twine upload --skip-existing ${TRAVIS_BUILD_DIR}/wheelhouse/*
- name: Upload release to PyPI
environment: release
permissions:
id-token: write
steps:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ${TRAVIS_BUILD_DIR}/wheelhouse/
skip-existing: true

0 comments on commit 858b820

Please sign in to comment.