Skip to content

Commit

Permalink
Update GitHub Actions workflow to use UV instead of Rye and bump vers…
Browse files Browse the repository at this point in the history
…ion to 0.8.5.3
  • Loading branch information
legout committed Dec 16, 2024
1 parent e6c43c0 commit a38e203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Rye
- name: Install UV
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
pip install uv
- name: Install dependencies
run: |
rye sync --no-lock
uv sync --no-lock
- name: Build package
run: |
rye build --sdist --wheel
uv build --sdist --wheel
- name: Publish to PyPI
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
rye publish --token $PYPI_TOKEN --yes
uv publish --token $PYPI_TOKEN --yes
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ keywords = [
name = "FlowerPower"
readme = "README.md"
requires-python = ">= 3.11"
version = "0.8.5.2"
version = "0.8.5.3"

[project.scripts]
flowerpower = "flowerpower.cli:app"
Expand Down

0 comments on commit a38e203

Please sign in to comment.