Skip to content

Commit

Permalink
Committing an actually compiling workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
smurphyCle committed Jan 29, 2024
1 parent 270fc5d commit 5f492a0
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,28 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: dist/me: Store the distribution packages
uses: actions/upload-artifact@v3
path: dist/

publish-to-testpypi:
name: Publish Python
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/cle-data-toolkit

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit 5f492a0

Please sign in to comment.