From 8482bd63a2a439fb85dc6d2ceb71f32d11a26ba4 Mon Sep 17 00:00:00 2001 From: Ultra-bob <66791664+Ultra-bob@users.noreply.github.com> Date: Tue, 7 May 2024 11:07:50 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed7f089..af0a179 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,9 +6,9 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -27,13 +27,15 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - name: Build Godot Game - id: build - uses: josephbmanley/build-godot-action@v1.5.0 + - name: export game + id: export + # Use latest version (see releases for all versions) + uses: firebelley/godot-export@v5.2.0 with: - name: "index.html" - preset: web - debugMode: "false" + # Defining all the required inputs + godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_linux.x86_64.zip + godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_export_templates.tpz + relative_project_path: ./ - name: Upload Artifact uses: actions/upload-artifact@v2