From ed21808df8ccc689d20d4fc6f15b8c83df228f29 Mon Sep 17 00:00:00 2001 From: geovicco-dev Date: Thu, 18 Jul 2024 20:49:54 +1000 Subject: [PATCH] fixed rye publish with twine version patch --- .github/workflows/publish.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b9f0fd0..ab4746c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,6 +17,12 @@ jobs: run: | curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.32.0" RYE_INSTALL_OPTION="--yes" bash echo "$HOME/.rye/shims" >> $GITHUB_PATH + - name: Set up Rye + uses: eifinger/setup-rye@v3 + - name: Patch Rye + run: | + echo "Patching Rye with Twine 5.1.1" + $RYE_HOME/self/bin/pip install twine==5.1.1 - name: Install dependencies run: rye pin 3.10 && rye sync - name: Build package