Skip to content

Commit

Permalink
update workflow before publishing python package (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis authored Oct 23, 2023
1 parent d3624b8 commit ac62d39
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish-python-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
name: pypi
url: https://pypi.org/p/osparc_client
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
id-token: write
steps:
- name: Download wheels
uses: actions/download-artifact@v3
Expand All @@ -134,14 +134,12 @@ jobs:
- name: Publish osparc_client to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository-url: https://test.pypi.org/legacy/
verbose: true
packages-dir: dist/
- name: Publish osparc_client to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
verbose: true
packages-dir: dist/

Expand All @@ -154,7 +152,7 @@ jobs:
name: pypi
url: https://pypi.org/p/osparc
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
id-token: write
steps:
- name: Download wheels
uses: actions/download-artifact@v3
Expand All @@ -166,13 +164,11 @@ jobs:
- name: Publish osparc to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository-url: https://test.pypi.org/legacy/
verbose: true
packages-dir: dist/
- name: Publish osparc to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
verbose: true
packages-dir: dist/

0 comments on commit ac62d39

Please sign in to comment.