release on tag

This commit is contained in:
Alireza Ahmadi
2026-02-08 17:17:37 +01:00
parent e84f7530e3
commit f5714eccee
+3 -1
View File
@@ -110,7 +110,9 @@ jobs:
- name: Upload to Release - name: Upload to Release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release' && github.event.action == 'published' if: |
(github.event_name == 'release' && github.event.action == 'published') ||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }} tag: ${{ github.ref }}