Skip to content

Commit

Permalink
Attempt to get the CI/CD working
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Dusk committed Dec 14, 2024
1 parent 48e882f commit 6d99e30
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/test_build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
- main

jobs:
uv:
name: python
test_and_build:
runs-on: ubuntu-latest

steps:
Expand All @@ -28,5 +27,26 @@ jobs:
- name: Build
run: uv build

- name: Publish
run: uv publish
- name: Upload release distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/


publish:
runs-on: ubuntu-latest
needs:
- test_and_build
permissions:
id-token: write

steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f

0 comments on commit 6d99e30

Please sign in to comment.