Update release.yml

This commit is contained in:
Pk-web6936 2025-04-18 14:39:59 +03:30 committed by GitHub
parent c6b143e238
commit 976418f2cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,7 +139,7 @@ jobs:
- name: Upload files to GH release
uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release'
if: github.event_name == 'release' && github.event.action == 'published'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}