Skip to content

Commit

Permalink
trying new deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
o-murphy committed Aug 15, 2024
1 parent aa3edd9 commit 0d46f92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]

runs-on: ${{ matrix.os }}
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -40,9 +43,10 @@ jobs:
- name: List ./dist
run: ls ./dist

- name: Publish package to Test PyPI
run: |
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* --skip-existing --verbose --non-interactive
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
- name: Publish package distributions to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# run: |
# python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* --skip-existing --verbose --non-interactive
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}

0 comments on commit 0d46f92

Please sign in to comment.