Pārlūkot izejas kodu

cd to correct directory before uploading windows build

Ivan Savenko 2 mēneši atpakaļ
vecāks
revīzija
cf72f8f485
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4 2
      .github/workflows/github.yml

+ 4 - 2
.github/workflows/github.yml

@@ -313,7 +313,7 @@ jobs:
         "${{ env.VCMI_PACKAGE_BUILD }}"
         "${{ matrix.arch }}"
         "VCMI ${{ env.VCMI_PACKAGE_NAME_SUFFIX }}"
-        "${{ env.VCMI_PACKAGE_FILE_NAME }}-${{ matrix.arch }}"
+        "${{ env.VCMI_PACKAGE_FILE_NAME }}"
         "${{ github.workspace }}\out\build\${{ matrix.preset }}\bin\RelWithDebInfo"
         "${{ github.workspace }}\ucrt"
       shell: cmd
@@ -392,7 +392,9 @@ jobs:
       if: ${{ (matrix.upload == 1) && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master') }}
       continue-on-error: true
       run: |
-        if [ -z '${{ env.ANDROID_APK_PATH }}' ] ; then
+        if [[ ${{startsWith(matrix.platform, 'msvc') }} ]] ; then
+          cd '${{github.workspace}}/CI/wininstaller/Output'
+        elif [ -z '${{ env.ANDROID_APK_PATH }}' ] ; then
           cd '${{github.workspace}}/out/build/${{matrix.preset}}'
         fi
         source '${{github.workspace}}/CI/upload_package.sh'