소스 검색

feat: swap details-check steps to fail faster

if the branch disappears the check will fail straight away rather then spend 1m download dependency's
Daniel Gibbs 3 년 전
부모
커밋
44931f7995
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      .github/workflows/details-check.yml

+ 3 - 3
.github/workflows/details-check.yml

@@ -31,12 +31,12 @@ jobs:
       matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}
 
     steps:
-      - name: Install dependencies
-        run: sudo apt-get install libxml2-utils jq
-
       - name: Download linuxgsm.sh
         run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
 
+      - name: Install dependencies
+        run: sudo apt-get install libxml2-utils jq
+
       - name: Grab server
         run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./linuxgsm.sh ${{ matrix.shortname }}server