From 349f4322ba475a08840cd6e22a9331b94cd2f2e0 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 15 May 2023 14:37:22 +0100 Subject: [PATCH] no config file --- .github/workflows/details-check.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/details-check.yml b/.github/workflows/details-check.yml index 5ec8c7325..0d1327682 100644 --- a/.github/workflows/details-check.yml +++ b/.github/workflows/details-check.yml @@ -57,7 +57,12 @@ jobs: curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/rename/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}" fi - name: Display config - run: cat config + run: | + if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then + echo "This game server has no config file." + else + cat config + fi - name: Display parameters run: grep "startparameters" lgsm/config-default/config-lgsm/${{ matrix.shortname }}server/_default.cfg