Skip to content

Commit

Permalink
fix: rye install
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Mar 1, 2024
1 parent 7c4da60 commit 279212f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install rye
uses: eifinger/setup-rye@v1

- name: set rye python
env:
RYE_INSTALL_OPTION: '--yes'
run: |
rye pin cpython@${{ matrix.python-version }}
curl -sSf https://rye-up.com/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
- name: Install dependencies
run: pip install dunamai

- name: Build package
run: |
VERSION=$(dunamai from any --no-metadata --style pep440)
rye pin cpython@${{ matrix.python-version }}
rye version $VERSION
rye build
Expand Down

0 comments on commit 279212f

Please sign in to comment.