Fix Gitea release: use action-gh-release v1, remove generate_release_notes
All checks were successful
Release / build-linux (push) Successful in 1m1s
Release / build-macos (push) Successful in 2m27s
Release / build-windows (push) Successful in 4m36s
Release / deploy (push) Successful in 42s

- Downgrade softprops/action-gh-release from v2 to v1 for Gitea compatibility
- Remove generate_release_notes (not supported by Gitea API)
- Add static release body instead

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
njohnson 2026-01-13 20:54:41 -05:00
parent a02ad66306
commit 93665ad65f

View File

@ -725,10 +725,16 @@ jobs:
dir release\
- name: Create Gitea Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v1
with:
files: release/*
generate_release_notes: true
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'test') }}
body: |
Release ${{ github.ref_name }}
## Downloads
- **Windows**: XPlor-*-Windows-Setup.exe (offline), XPlor-*-Windows-Online.exe
- **macOS**: XPlor-*-macOS-Setup.dmg (offline), XPlor-*-macOS-Online.dmg
- **Linux**: XPlor-*-Linux-Setup.run (offline), XPlor-*-Linux-Online.run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}