Skip to content

Commit 883a1b2

Browse files
committed
installer and ci: Throw more errors on failure
This makes it easier to notice when installer generation failed.
1 parent 0d5063b commit 883a1b2

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
with:
135135
name: ${{ matrix.config.name }} - installer
136136
path: build/Aegisub-*.exe
137+
if-no-files-found: error
137138

138139
- name: Upload artifacts - portable.zip
139140
uses: actions/upload-artifact@v3
@@ -155,3 +156,4 @@ jobs:
155156
with:
156157
name: ${{ matrix.config.name }} - installer
157158
path: build/Aegisub-*.dmg
159+
if-no-files-found: error

tools/win-installer-setup.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ if (!(Test-Path ffi-experiments)) {
6969
git clone https://github.com/TypesettingTools/ffi-experiments.git
7070
Set-Location ffi-experiments
7171
meson build -Ddefault_library=static
72+
if(!$?) { Exit $LASTEXITCODE }
7273
meson compile -C build
74+
if(!$?) { Exit $LASTEXITCODE }
7375
Set-Location $DepsDir
7476
}
7577

@@ -91,7 +93,9 @@ if (!(Test-Path dictionaries)) {
9193
# localization
9294
Set-Location $BuildRoot
9395
meson compile aegisub-gmo
96+
if(!$?) { Exit $LASTEXITCODE }
9497

9598
# Invoke InnoSetup
9699
$IssUrl = Join-Path $InstallerDir "aegisub_depctrl.iss"
97100
iscc $IssUrl
101+
if(!$?) { Exit $LASTEXITCODE }

0 commit comments

Comments
 (0)