From 12951ef998ac74c3c4b5d229f8b77719b45eaeba Mon Sep 17 00:00:00 2001 From: himkt Date: Mon, 13 May 2024 21:35:53 +0900 Subject: [PATCH] feat: workflow to publish with rye --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b3d902c..974e92b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,6 @@ jobs: if: github.event_name == 'release' steps: - uses: actions/checkout@v4 - - name: Build and publish to pypi - uses: JRubics/poetry-publish@v1.9 - with: - pypi_token: ${{ secrets.PYPI_TOKEN }} + - run: curl -sSf https://rye-up.com/get | bash + - run: rye build --sdist + - run: rye publish --yes --token "${{ secrets.PYPI_TOKEN }}"