diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 3533942..8957611 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -19,15 +19,11 @@ jobs: python-version: '3.10' - name: Install rye - run: | - curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash - source $HOME/.rye/env - - - name: Install Decendencies - run: rye sync - - - name: Build package - run: rye build + run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash - name: Publish package - run: rye publish --token ${{ secrets.PYPI_TOKEN }} + run: | + source $HOME/.rye/env + rye sync + rye build + rye publish --token ${{ secrets.PYPI_TOKEN }}