diff --git a/.github/workflows/details-check.yml b/.github/workflows/details-check.yml index 355a1f8d96..ce9b459967 100644 --- a/.github/workflows/details-check.yml +++ b/.github/workflows/details-check.yml @@ -59,14 +59,14 @@ jobs: - name: Download config run: | - if [ "${{ steps.sets-servercfgname.outputs.servercfgname }}" == "servercfgname=" ]; then + if [ "${{ 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/main/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}" fi - name: Display config run: | - if [ "${{ steps.sets-servercfgname.outputs.servercfgname }}" == "servercfgname=" ]; then + if [ "${{ steps.sets-servercfgname.outputs.servercfgname }}" == "" ]; then echo "This game server has no config file." else cat config