ci: use gitea.com/actions/gitea-release-action for release assets with API_TOKEN
CI / test (push) Successful in 40s
CI / build (push) Successful in 1m7s
CI / release (push) Failing after 4s

This commit is contained in:
fristy committed 2026-09-05 03:28:32 +03:00
1 parent 3cfda62341
commit 4353c67f95
1 file changed
+14 -5
+14 -5
View File
@@ -153,11 +153,20 @@ jobs:
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
& powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/release/package-velopack.ps1 & powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/release/package-velopack.ps1
- name: Upload Velopack artifacts (Setup.exe + Portable.zip) - name: Create Gitea Release with assets
uses: actions/upload-artifact@v4 uses: gitea.com/actions/gitea-release-action@v1
with: with:
name: RGBLedStripController-Setup-${{ gitea.ref_name || 'manual' }}-win-x64 token: ${{ secrets.API_TOKEN }}
path: | tag_name: ${{ gitea.ref_name }}
repository: ${{ gitea.repository }}
files: |
artifacts/velopack/win-x64-stable/*.exe artifacts/velopack/win-x64-stable/*.exe
artifacts/velopack/win-x64-stable/*.zip artifacts/velopack/win-x64-stable/*.zip
if-no-files-found: error name: v${{ gitea.ref_name }}
body: |
Release ${{ gitea.ref_name }}
- RGBLedStripController-Setup-${{ gitea.ref_name }}-x64.exe (Windows Installer)
- RGBLedStripController-Portable-${{ gitea.ref_name }}-x64.zip (Portable)
draft: false
prerelease: false