Skip to content

Commit

Permalink
ABP
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 27, 2023
1 parent 335bf0a commit 5fa8f82
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ jobs:
- uses: hynek/build-and-inspect-python-package@v1

# Upload to Test PyPI on every commit on main.
# release-test-pypi:
# name: Publish in-dev package to test.pypi.org
# environment: release-test-pypi
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# runs-on: ubuntu-latest
# needs: build-package
release-test-pypi:
name: Publish in-dev package to test.pypi.org
environment: release-test-pypi
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build-package

# steps:
# - name: Download packages built by build-and-inspect-python-package
# uses: actions/download-artifact@v3
# with:
# name: Packages
# path: dist
steps:
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@v3
with:
name: Packages
path: dist

# - name: Upload package to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
- name: Upload package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

# Upload to real PyPI on GitHub Releases.
release-pypi:
Expand Down

0 comments on commit 5fa8f82

Please sign in to comment.