Skip to content

Commit

Permalink
Updates release workflow to publish packages to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavm-nvidia committed Dec 16, 2024
1 parent d490f92 commit d4deb7d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tripy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ concurrency:
jobs:
build-and-release:
runs-on: tripy-self-hosted
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down Expand Up @@ -57,6 +61,11 @@ jobs:
files: /tripy/dist/tripy-*.whl
fail_on_unmatched_files: true

- name: Publish To PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: /tripy/dist/

- uses: actions/configure-pages@v5

- uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit d4deb7d

Please sign in to comment.