ci: use gitea.com/actions/gitea-release-action for release assets with API_TOKEN
This commit is contained in:
1 file changed
+14
-5
+14
-5
@@ -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
|
||||||
Reference in new issue
Block a user