From 279212f56102d349d3c89e74c63fdbcdb3b61e27 Mon Sep 17 00:00:00 2001 From: phi Date: Sat, 2 Mar 2024 04:17:45 +0900 Subject: [PATCH] fix: rye install --- .github/workflows/publish.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 276544d..58f07ab 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,11 +25,11 @@ 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 @@ -37,6 +37,7 @@ jobs: - name: Build package run: | VERSION=$(dunamai from any --no-metadata --style pep440) + rye pin cpython@${{ matrix.python-version }} rye version $VERSION rye build