Skip to content

Commit d394d13

Browse files
authored
Merge pull request #6 from jmorganca/mxyng/fix-publish
fix publish
2 parents efc7ea3 + 42ddf71 commit d394d13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ jobs:
1616
- run: pipx install poetry
1717
- uses: actions/setup-python@v5
1818
with:
19+
python-version: '3.x'
1920
cache: poetry
2021
- run: |
21-
poetry version -- ${GIT_REF_NAME#v}
22+
poetry version ${GITHUB_REF_NAME#v}
2223
poetry build
2324
- uses: pypa/gh-action-pypi-publish@release/v1
2425
- run: gh release upload $GIT_REF_NAME dist/*
26+
env:
27+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)