Skip to content

Commit

Permalink
Update upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tk2lab authored May 27, 2024
1 parent cd5ac58 commit 4575d12
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4575d12

Please sign in to comment.