summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsudlud <sudlud@users.noreply.github.com>2024-06-25 13:53:46 +0200
committerGitHub <noreply@github.com>2024-06-25 13:53:46 +0200
commit24c8f3c4c64cacb9ffb7badf2eefdaef9d869ca6 (patch)
tree8a23a2d9f8393ad8ae884d237a72e4f5175b1bad /.github
parent1572c53d883f52ab174a0cf5fc9b23366b43e658 (diff)
fix(CI): fix Error.log check (#19161)
Diffstat (limited to '.github')
-rw-r--r--.github/actions/linux-build/action.yml3
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