diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 5e8160d..01d1f61 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -17,7 +17,16 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: pdm-project/setup-pdm@v3 + - name: Install the latest version of rye + uses: eifinger/setup-rye@v4 + with: + enable-cache: true + + - name: Sync dependencies + run: rye sync + + - name: Build package + run: rye sync - name: Publish package distributions to PyPI - run: pdm publish + run: rye publish