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:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
# Triggers the workflow on push or pull request events but only for the master branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -27,13 +27,15 @@ jobs:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build Godot Game
|
- name: export game
|
||||||
id: build
|
id: export
|
||||||
uses: josephbmanley/build-godot-action@v1.5.0
|
# Use latest version (see releases for all versions)
|
||||||
|
uses: firebelley/godot-export@v5.2.0
|
||||||
with:
|
with:
|
||||||
name: "index.html"
|
# Defining all the required inputs
|
||||||
preset: web
|
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_linux.x86_64.zip
|
||||||
debugMode: "false"
|
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
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue