Skip to content

Commit

Permalink
Update release-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ionicsolutions committed Oct 28, 2023
1 parent e2ce10d commit a939cdd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ jobs:
needs:
- test
runs-on: ubuntu-latest
environment: PyPI
environment:
name: pypi
url: https://pypi.org/p/visualime
permissions:
id-token: write
steps:
- name: Download distribution
uses: actions/download-artifact@v3
Expand All @@ -108,16 +112,12 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
packages_dir: .
verbose: true

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: .
verbose: true

0 comments on commit a939cdd

Please sign in to comment.