Update build.yml
This commit is contained in:
parent
b16f029345
commit
8482bd63a2
1 changed files with 10 additions and 8 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue