From 384ff0d5112f8459e7578d1eacd0c1185573cb21 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 31 Aug 2023 00:08:09 +0100 Subject: [PATCH] feat: update steamuser and steampass in common.cfg The commit updates the code to properly insert the `steamuser` and `steampass` values in the `common.cfg` file. The previous code was not correctly formatting the values, which caused issues with server installation. This change ensures that the values are properly formatted using double quotes for `steamuser` and single quotes for `steampass`. --- .github/workflows/update-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-check.yml b/.github/workflows/update-check.yml index 16bea4524..4ba6099c9 100644 --- a/.github/workflows/update-check.yml +++ b/.github/workflows/update-check.yml @@ -33,7 +33,7 @@ jobs: - name: Insert steamuser if: matrix.shortname == 'jk2' - run: echo "steamuser="${STEAMCMD_USER}\nsteampass='${STEAMCMD_PASS}'" lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg + run: echo -e "steamuser=\"${STEAMCMD_USER}\"\nsteampass='${STEAMCMD_PASS}'" lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg - name: Install server run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server auto-install