Skip to content

Commit

Permalink
Add github action for build and release
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiali committed Aug 24, 2024
1 parent ff25450 commit a13c0a8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PYPI Release

on: [push, pull_request]

jobs:
setup_uv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Source Cargo Environment
run: source $HOME/.cargo/env

- name: Build with UV
run: uvx --from build pyproject-build --installer uv

# - name: Upload to PyPi
# run: uvx twine upload dist/*

0 comments on commit a13c0a8

Please sign in to comment.