CI: luôn publish GitHub Release (kể cả khi build tự động do push), không chỉ khi chạy thủ công
Build Windows portable / build (push) Canceled after 0s

Trước đây build tự động từ push chỉ upload artifact — link tải đó yêu cầu đăng
nhập GitHub (401 Requires authentication) khi tải qua trình duyệt/API thường.
Chỉ build thủ công (workflow_dispatch) mới tạo Release công khai. Giờ mọi
build thành công đều tạo Release để có link tải công khai ngay.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HgnbPwSoRGNH7LHsDUmRpk
This commit is contained in:
Claude
2026-07-16 16:58:57 +00:00
parent 1171101166
commit 820a8c6e2b
-1
View File
@@ -64,7 +64,6 @@ jobs:
retention-days: 30 retention-days: 30
- name: Publish GitHub Release - name: Publish GitHub Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
tag_name: win-build-${{ github.run_number }} tag_name: win-build-${{ github.run_number }}