Skip to content

Commit

Permalink
switch to github url
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarter committed Sep 10, 2024
1 parent 9d33bc9 commit adc5ec7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/Publish_MoorPy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
jobs:
build_and_upload_pypi:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

# upload to PyPI on every tag starting with 'v'
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -37,8 +39,9 @@ jobs:
run: |
python -m build .
- uses: pypa/gh-action-pypi-publish@v1.8.5
with:
user: __token__
password: ${{ secrets.pypi_password }}
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
# To test: repository_url: https://test.pypi.org/legacy/

0 comments on commit adc5ec7

Please sign in to comment.