Преглед изворни кода

fix(ci): prepare Update Check prerequisites (#5203)

Remove the unrelated developer diagnostic from Update Check and create the JK2 configuration directory before writing credentials.

The full 12-server Update Check passed on the PR head.
Daniel Gibbs пре 1 дан
родитељ
комит
c63c9042c7
1 измењених фајлова са 3 додато и 4 уклоњено
  1. 3 4
      .github/workflows/action-update-check.yml

+ 3 - 4
.github/workflows/action-update-check.yml

@@ -41,12 +41,11 @@ jobs:
       - name: Grab server
         run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./linuxgsm.sh ${{ matrix.shortname }}server
 
-      - name: Enable developer mode
-        run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server developer
-
       - name: Insert steamuser
         if: matrix.shortname == 'jk2'
-        run: echo -e "steamuser=\"${{ secrets.STEAMCMD_USER }}\"\nsteampass='${{ secrets.STEAMCMD_PASS }}'" > lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg
+        run: |
+          mkdir -p lgsm/config-lgsm/${{ matrix.shortname }}server
+          echo -e "steamuser=\"${{ secrets.STEAMCMD_USER }}\"\nsteampass='${{ secrets.STEAMCMD_PASS }}'" > lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg
 
       - name: Install server
         run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server auto-install