mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(CI): fix Error.log check (#19161)
This commit is contained in:
3
.github/actions/linux-build/action.yml
vendored
3
.github/actions/linux-build/action.yml
vendored
@@ -130,6 +130,7 @@ runs:
|
|||||||
AC_CHARACTER_DATABASE_INFO=localhost;3306;root;root;acore_characters
|
AC_CHARACTER_DATABASE_INFO=localhost;3306;root;root;acore_characters
|
||||||
AC_WORLD_DATABASE_INFO=localhost;3306;root;root;acore_world
|
AC_WORLD_DATABASE_INFO=localhost;3306;root;root;acore_world
|
||||||
AC_DATA_DIR=env/dist/data
|
AC_DATA_DIR=env/dist/data
|
||||||
|
AC_LOGS_DIR=env/dist/logs
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: get dbc files
|
- name: get dbc files
|
||||||
@@ -156,7 +157,7 @@ runs:
|
|||||||
- name: Check startup errors
|
- name: Check startup errors
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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 greater than 0 bytes
|
||||||
# ! -s checks if the file's size is less than/equal to 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
|
# if the error log is empty, exit without error
|
||||||
|
|||||||
Reference in New Issue
Block a user