From 24c8f3c4c64cacb9ffb7badf2eefdaef9d869ca6 Mon Sep 17 00:00:00 2001 From: sudlud Date: Tue, 25 Jun 2024 13:53:46 +0200 Subject: [PATCH] fix(CI): fix Error.log check (#19161) --- .github/actions/linux-build/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index d06f88551..739be2342 100644 --- a/.github/actions/linux-build/action.yml +++ b/.github/actions/linux-build/action.yml @@ -130,6 +130,7 @@ runs: AC_CHARACTER_DATABASE_INFO=localhost;3306;root;root;acore_characters AC_WORLD_DATABASE_INFO=localhost;3306;root;root;acore_world AC_DATA_DIR=env/dist/data + AC_LOGS_DIR=env/dist/logs EOF - name: get dbc files @@ -156,7 +157,7 @@ runs: - name: Check startup errors shell: bash run: | - error_log="./env/dist/bin/Errors.log" + error_log="$AC_LOGS_DIR/Errors.log" # -s checks if the file's size is greater than 0 bytes # ! -s checks if the file's size is less than/equal to 0 bytes # if the error log is empty, exit without error