diff options
author | sudlud <sudlud@users.noreply.github.com> | 2024-06-25 13:53:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 13:53:46 +0200 |
commit | 24c8f3c4c64cacb9ffb7badf2eefdaef9d869ca6 (patch) | |
tree | 8a23a2d9f8393ad8ae884d237a72e4f5175b1bad | |
parent | 1572c53d883f52ab174a0cf5fc9b23366b43e658 (diff) |
fix(CI): fix Error.log check (#19161)
-rw-r--r-- | .github/actions/linux-build/action.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index d06f885519..739be23420 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 |