瀏覽代碼

github actions: upload windows exe and zip artifacts

slime 3 年之前
父節點
當前提交
b9e67c6af9
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .github/workflows/main.yml

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

@@ -67,12 +67,14 @@ jobs:
       run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% ${{ matrix.compatdef }} -DCMAKE_INSTALL_PREFIX=%CD%\install
     - name: Install
       shell: cmd
-      run: cmake --build build --config Release --target install -j2
+      run: cmake --build build --target PACKAGE --config Release -j2
     - name: Artifact
       uses: actions/upload-artifact@v2
       with:
         name: love-windows-${{ matrix.arch }}${{ matrix.compatname }}
-        path: install
+        path: |
+          build/*.zip
+          build/*.exe
     - name: Artifact JIT Modules
       if: matrix.upload_jitmodules
       uses: actions/upload-artifact@v2