Skip to content

Commit

Permalink
fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mxyng committed Jan 12, 2024
1 parent efc7ea3 commit 42ddf71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: poetry
- run: |
poetry version -- ${GIT_REF_NAME#v}
poetry version ${GITHUB_REF_NAME#v}
poetry build
- uses: pypa/gh-action-pypi-publish@release/v1
- run: gh release upload $GIT_REF_NAME dist/*
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 42ddf71

Please sign in to comment.