fix(CI): fix Error.log check (#19161)
This commit is contained in:
parent
1572c53d88
commit
24c8f3c4c6
1 changed files with 2 additions and 1 deletions
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_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue