Skip to content

Commit

Permalink
Trigger only on tags.
Browse files Browse the repository at this point in the history
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
  • Loading branch information
ALiwoto committed Dec 24, 2024
1 parent 500081e commit 6cad3b4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
push:
branches: [ Production ]
tags:
- 'v*'

permissions: write-all

Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
tag_name: ${{ env.CURRENT_LIB_VERSION }}
files: dist/${{ env.name }}
# tag_name: ${{ env.CURRENT_LIB_VERSION }}
files: dist/*
# asset_name: ${{ env.name }}
# asset_content_type: application/zip
# asset_content_type: application/zip

0 comments on commit 6cad3b4

Please sign in to comment.