Ver Fonte

Merge pull request #3835 from IvanSavenko/ccache_beta_fix

Fix CI on beta and master branches
Ivan Savenko há 1 ano atrás
pai
commit
0fc17da164
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/workflows/github.yml

+ 1 - 1
.github/workflows/github.yml

@@ -148,7 +148,7 @@ jobs:
 
 
     - name: ccache for everything but PRs
     - name: ccache for everything but PRs
       uses: hendrikmuhs/[email protected]
       uses: hendrikmuhs/[email protected]
-      if: ${{ (github.repository == 'vcmi/vcmi' && github.event.number == '' && github.ref == 'refs/heads/develop') ||  github.repository != 'vcmi/vcmi' }}
+      if: ${{ (github.repository == 'vcmi/vcmi' && github.event.number == '' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master')) ||  github.repository != 'vcmi/vcmi' }}
       with:
       with:
         key: ${{ matrix.preset }}-no-PR
         key: ${{ matrix.preset }}-no-PR
         restore-keys: |
         restore-keys: |