diff --git a/.github/workflows/update-check.yml b/.github/workflows/update-check.yml index 4ba6099c9..dfbc7dd58 100644 --- a/.github/workflows/update-check.yml +++ b/.github/workflows/update-check.yml @@ -9,7 +9,6 @@ concurrency: cancel-in-progress: true jobs: - update-check: continue-on-error: true runs-on: ubuntu-latest @@ -33,7 +32,7 @@ jobs: - name: Insert steamuser if: matrix.shortname == 'jk2' - run: echo -e "steamuser=\"${STEAMCMD_USER}\"\nsteampass='${STEAMCMD_PASS}'" lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg + run: echo -e "steamuser=\"${{ secrets.STEAMCMD_USER }}\"\nsteampass='${{ secrets.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 diff --git a/lgsm/modules/core_steamcmd.sh b/lgsm/modules/core_steamcmd.sh index 1b8724d12..83fc6f5c3 100644 --- a/lgsm/modules/core_steamcmd.sh +++ b/lgsm/modules/core_steamcmd.sh @@ -178,7 +178,6 @@ fn_update_steamcmd_remotebuild() { branch="public" fi - # added as was failing GitHub Actions test. Running SteamCMD twice seems to fix it. ${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit 2> /dev/null # password for branch not needed to check the buildid