Skip to content

Commit b2d52d5

Browse files
committed
using uses instead of poetry publish
1 parent e0ec36d commit b2d52d5

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,11 @@ jobs:
7676
7777
- name: Configure and Publish
7878
if: steps.check_version.outputs.should_publish == 'true'
79-
run: |
80-
# poetry config repositories.${{ env.REPO_ALIAS }} ${{ env.PYPI_URL }}
81-
# poetry config pypi-token.${{ env.REPO_ALIAS }} ${{ secrets.PYPI_TOKEN }}
82-
poetry publish --build
79+
- name: Publish
80+
uses: pypa/gh-action-pypi-publish@release/v1
8381

84-
# Add Success Summary
82+
- name: Add Success Summary
83+
run: |
8584
NAME=${{ steps.check_version.outputs.pkg_name }}
8685
VER=${{ steps.check_version.outputs.pkg_ver }}
8786
echo "### ✅ Success: Published $NAME v$VER" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)