mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[CI] Run the NSIS log dump under bash
The dump step used the default pwsh shell, where `find` resolves to Windows' text-search find.exe rather than a file finder, so it died with "FIND: Parameter format not correct" instead of printing anything. Pin shell: bash.
This commit is contained in:
parent
e7a77ac745
commit
eb1eb43f1d
1 changed files with 4 additions and 1 deletions
5
.github/workflows/desktop-build.yml
vendored
5
.github/workflows/desktop-build.yml
vendored
|
|
@ -462,9 +462,12 @@ jobs:
|
|||
# plus a path to NSISOutput.log, and that log lives only on the runner, so
|
||||
# the actual compile error is otherwise nowhere in the workflow output.
|
||||
# Dump it, or a broken installer script is undiagnosable from CI alone.
|
||||
# shell: bash matters here - the default pwsh resolves `find` to Windows'
|
||||
# text-search find.exe, which errors instead of searching.
|
||||
- name: "Dump NSIS compile log"
|
||||
if: failure() && matrix.os == 'Windows'
|
||||
run: find . -name NSISOutput.log -exec cat {} \;
|
||||
shell: bash
|
||||
run: find . -name NSISOutput.log -exec cat {} +
|
||||
|
||||
# Delete used cache to emulate a ccache update. See https://github.com/actions/cache/issues/342
|
||||
- name: "[macOS] Delete remote compiler cache (ccache)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue