Update build.yml

This commit is contained in:
Ultra-bob 2024-05-07 11:07:50 -04:00 committed by GitHub
parent b16f029345
commit 8482bd63a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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