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