Skip to content

Commit

Permalink
Add TestPyPI publishing to test OIDC publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschanda committed Sep 17, 2023
1 parent 64f6084 commit c2f7be9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,21 @@ jobs:
with:
name: wheels
path: "dist/trlc-*.whl"

upload-test:
name: TestPyPI Upload
needs: package
runs-on: ubuntu-20.04
environment: release
permissions:
id-token: write
steps:
- name: Download wheel files
uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit c2f7be9

Please sign in to comment.