installer and ci: Throw more errors on failure

This makes it easier to notice when installer generation failed.
This commit is contained in:
arch1t3cht 2023-03-23 16:32:43 +01:00
parent 0d5063bf79
commit 883a1b2a73
2 changed files with 6 additions and 0 deletions

View file

@ -134,6 +134,7 @@ jobs:
with:
name: ${{ matrix.config.name }} - installer
path: build/Aegisub-*.exe
if-no-files-found: error
- name: Upload artifacts - portable.zip
uses: actions/upload-artifact@v3
@ -155,3 +156,4 @@ jobs:
with:
name: ${{ matrix.config.name }} - installer
path: build/Aegisub-*.dmg
if-no-files-found: error

View file

@ -69,7 +69,9 @@ if (!(Test-Path ffi-experiments)) {
git clone https://github.com/TypesettingTools/ffi-experiments.git
Set-Location ffi-experiments
meson build -Ddefault_library=static
if(!$?) { Exit $LASTEXITCODE }
meson compile -C build
if(!$?) { Exit $LASTEXITCODE }
Set-Location $DepsDir
}
@ -91,7 +93,9 @@ if (!(Test-Path dictionaries)) {
# localization
Set-Location $BuildRoot
meson compile aegisub-gmo
if(!$?) { Exit $LASTEXITCODE }
# Invoke InnoSetup
$IssUrl = Join-Path $InstallerDir "aegisub_depctrl.iss"
iscc $IssUrl
if(!$?) { Exit $LASTEXITCODE }