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
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:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user