Browse Source

Merge pull request #1617 from kambala-decapitator/fix-uploads

fix uploads of artifacts to VCMI server
Andrey Filipenkov 2 years ago
parent
commit
3e6c33e465
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/github.yml

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

@@ -203,7 +203,7 @@ jobs:
           ${{github.workspace}}/out/build/${{matrix.preset}}/${{ env.VCMI_PACKAGE_FILE_NAME }}.${{ matrix.extension }}
 
     - name: Upload build
-      if: ${{ matrix.pack == 1 && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/features/')) && matrix.platform == 'msvc' }}
+      if: ${{ matrix.pack == 1 && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/features/')) && matrix.platform != 'msvc' }}
       run: |
         cd '${{github.workspace}}/out/build/${{matrix.preset}}'
         source '${{github.workspace}}/CI/upload_package.sh'