Skip to content

Commit e767ea8

Browse files
committed
ci: ⚠️ add error handling for empty Resonite path
1 parent 14055ef commit e767ea8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
shell: bash
5151
run: |
5252
set -euo pipefail
53+
if [ -z "${RESONITE_PATH:-}" ]; then
54+
echo '::error::Resonite path is empty. Ensure the setup-resonite-env step succeeded and exposed resonite-path.'
55+
exit 1
56+
fi
5357
install -d "$RESONITE_PATH/Libraries" "$RESONITE_PATH/rml_libs"
5458
curl -sSfL -o "$RESONITE_PATH/Libraries/ResoniteModLoader.dll" \
5559
https://github.com/resonite-modding-group/ResoniteModLoader/releases/latest/download/ResoniteModLoader.dll

0 commit comments

Comments
 (0)