Skip to content

Commit

Permalink
ci: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed May 8, 2024
1 parent a61712d commit 1fbc646
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pip_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
with:
python-version: "3.9"

- name: Update package
run: |
python -m pip install --upgrade pip
python -m pip install pdm tomlkit
- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}

- name: Update pyproject.toml version
run: |
python tools/pip_pack.py ${{ github.ref_name }}
- name: Install pdm and publish
run: |
python -m pip install --upgrade pip
pip install pdm
python tools/pip_pack.py ${{ github.ref_name }}
pdm publish --password ${{ secrets.PYPI_TOKEN }}

0 comments on commit 1fbc646

Please sign in to comment.