Skip to content

Commit

Permalink
πŸ’š ci: fix publishing, use uv (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljnsn authored Nov 25, 2024
1 parent 368cfe9 commit 43baf65
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ jobs:
- uses: actions/checkout@v4
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Install dependencies
run: uv sync --frozen

- name: Publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
./scripts/publish.sh

0 comments on commit 43baf65

Please sign in to comment.