mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 09:13:08 +00:00
ci: ensure release installers are uploaded as GitHub assets
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user