ci: ensure release installers are uploaded as GitHub assets

This commit is contained in:
DhanushSantosh
2026-01-23 18:30:38 +05:30
parent 46abd34444
commit 650edd69ca

View File

@@ -4,6 +4,9 @@ on:
release: release:
types: [published] types: [published]
permissions:
contents: write
jobs: jobs:
build: build:
strategy: strategy:
@@ -65,6 +68,7 @@ jobs:
path: | path: |
apps/ui/release/*.dmg apps/ui/release/*.dmg
apps/ui/release/*.zip apps/ui/release/*.zip
if-no-files-found: error
retention-days: 30 retention-days: 30
- name: Upload Windows artifacts - name: Upload Windows artifacts
@@ -73,6 +77,7 @@ jobs:
with: with:
name: windows-builds name: windows-builds
path: apps/ui/release/*.exe path: apps/ui/release/*.exe
if-no-files-found: error
retention-days: 30 retention-days: 30
- name: Upload Linux artifacts - name: Upload Linux artifacts
@@ -84,6 +89,7 @@ jobs:
apps/ui/release/*.AppImage apps/ui/release/*.AppImage
apps/ui/release/*.deb apps/ui/release/*.deb
apps/ui/release/*.rpm apps/ui/release/*.rpm
if-no-files-found: error
retention-days: 30 retention-days: 30
upload: upload:
@@ -113,6 +119,7 @@ jobs:
- name: Upload to GitHub Release - name: Upload to GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
fail_on_unmatched_files: true
files: | files: |
artifacts/macos-builds/*.dmg artifacts/macos-builds/*.dmg
artifacts/macos-builds/*.zip artifacts/macos-builds/*.zip