Browse Source

no config file

pull/4200/head
Daniel Gibbs 2 years ago
parent
commit
182c2bce19
  1. 7
      .github/workflows/details-check.yml

7
.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

Loading…
Cancel
Save