Skip to content

Commit

Permalink
Fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapobep committed Dec 19, 2024
1 parent a279749 commit 2184fc8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
release-build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: ./python
Expand All @@ -18,20 +18,19 @@ jobs:
with:
version: "0.5.10"
enable-cache: true
cache-dependency-glob: "uv.lock"
cache-dependency-glob: "python/uv.lock"
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
python-version-file: "python/pyproject.toml"
- run: |
uv sync --all-extras --dev
./test.sh
uv build
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/
path: python/dist/

pypi-publish:
runs-on: ubuntu-latest
Expand All @@ -57,9 +56,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/
path: python/dist/

- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
packages-dir: python/dist/

0 comments on commit 2184fc8

Please sign in to comment.