From f35b0a4d2fea11294108adb1aa8533b6267516e4 Mon Sep 17 00:00:00 2001 From: Isaac Date: Fri, 10 Nov 2023 11:22:32 -0500 Subject: [PATCH] Add webrequest for engine --- .github/workflows/deployment.yaml | 32 ++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index d18ebe2..34a4a1d 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -18,18 +18,28 @@ jobs: submodules: recursive - name: Build Extension run: scons platform=windows - - name: Build - id: build - uses: manleydev/build-godot-action@v1.5.0 - with: - name: VirtualSlate - preset: "Windows Desktop" - debugMode: "false" - projectDir: "project" - name: Upload Artifact uses: actions/upload-artifact@v3 with: - name: VirtualSlate - win64 - path: ${{ github.workspace }}/${{ steps.build.outputs.build }} - + with: VirtualSlateBuildFiles + path: VirtualSlate + Build-Game: + runs-on: windows-latest + needs: Build-Extension + steps: + - name: Retreive Build + uses: actions/download-artifact@v3 + with: + name: VirtualSlateBuildFiles + - name: Download Engine + run: Invoke-WebRequest https://downloads.tuxfamily.org/godotengine/4.1.2/Godot_v4.1.2-stable_win64.exe.zip -OutFile godotbuilder.zip + working-directory: VirtualSlateBuildFiles + - name: Make Game + run: ./Godot_v4.1.2-stable_win64.exe --path project --headless --export-release "Windows Desktop" + working-directory: VirtualSlateBuildFiles + - name: Upload .exe + uses: actions/upload-artifact@v3 + with: + name: VirtualSlate-x64 + path: VirtualSlateBuildFiles/project/project.exe