Browse Source

github actions: upload windows exe and zip artifacts

slime 2 years ago
parent
commit
b9e67c6af9
1 changed files with 4 additions and 2 deletions
  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