Fix Windows release CI parsing and publish Forgejo via git.avelo.top.

Use pwsh -File with UTF-8 BOM scripts, and default Forgejo uploads to the public domain when LAN IP is unreachable.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-08 21:06:47 +08:00
parent a9c9d17550
commit 7e78485396
7 changed files with 24 additions and 24 deletions

View file

@ -25,7 +25,8 @@ jobs:
- name: Build release stage
shell: pwsh
run: |
powershell -ExecutionPolicy Bypass -File ./packaging/build_release.ps1 -CreateVenv
# Use pwsh -File (UTF-8). Nested Windows PowerShell 5.1 mis-parses UTF-8 scripts without BOM.
& ./packaging/build_release.ps1 -CreateVenv
- name: Install Inno Setup
shell: pwsh