Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Dec 11, 2024
1 parent 4a5400b commit cae7182
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,17 @@ jobs:

- name: Create GitHub Release
if: env.TAG_EXISTS == 'false'
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.determine_tag.outputs.tag_name }}
release_name: ${{ steps.determine_tag.outputs.tag_name }}
draft: false
prerelease: false
name: ${{ steps.determine_tag.outputs.tag_name }}
body: "Release for version ${{ steps.determine_tag.outputs.tag_name }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }

- name: Publish to PyPI
if: env.TAG_EXISTS == 'false'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: twine upload dist/*

0 comments on commit cae7182

Please sign in to comment.