diff --git a/.github/workflows/details-check.yml b/.github/workflows/details-check.yml index f97b03ad8..5ec8c7325 100644 --- a/.github/workflows/details-check.yml +++ b/.github/workflows/details-check.yml @@ -51,8 +51,11 @@ jobs: - name: Download config run: | - curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/rename/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}" - + if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then + echo "This game server has no config file." + else + 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