浏览代码

github actions: minor updates to Windows CI

use a platform-specific name for build artifacts, and use VS2019 toolset instead of VS2017 toolset.
Alex Szpakowski 5 年之前
父节点
当前提交
55e1ce6579
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/main.yml

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

@@ -40,12 +40,12 @@ jobs:
       shell: cmd
       shell: cmd
       env:
       env:
         PLATFORM: ${{ matrix.platform }}
         PLATFORM: ${{ matrix.platform }}
-      run: cmake -Bbuild -Hmegasource -T v141 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
+      run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
     - name: Install
     - name: Install
       shell: cmd
       shell: cmd
       run: cmake --build build --config Release --target install
       run: cmake --build build --config Release --target install
     - name: Artifact
     - name: Artifact
       uses: actions/upload-artifact@v1
       uses: actions/upload-artifact@v1
       with:
       with:
-        name: love
+        name: love-windows-${{ matrix.platform }}
         path: install
         path: install