Skip to content

add: a... lot of stuff #31

add: a... lot of stuff

add: a... lot of stuff #31

Workflow file for this run

name: Build Godot Game
on:
workflow_dispatch:
push:
branches: [ develop ]
paths:
- "scenes/**"
- "scripts/**"
- "sprites/**"
- "Main.tscn"
- "project.godot"
#- "ans/answers.json"
# Uncomment when we get to this stage.
pull_request:
branches: [ develop ]
paths:
- "scenes/**"
- "scripts/**"
- "sprites/**"
- "Main.tscn"
- "project.godot"
#- "ans/answers.json"
# Uncomment when we get to this stage.
permissions:
contents: read
jobs:
godot-build:
name: Build Godot game
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Godot Setup
uses: lihop/[email protected]
with:
version: 4.2.2-stable # Specify the Godot version you want to use
bits: 64 # Optional, default is 64
mono: false # Optional, set to true if using the Mono build
alias: godot # Optional, default is godot
cache: true # Optional, default is true
export-templates: true # Optional, set to true if you need export templates
github-token: ${{ github.token }} # Optional, default is ${{ github.token }}
- name: Build Godot
uses: yeslayla/[email protected]
with:
name: StarJump # Specify the name of the exported binary
preset: "StarJump Windows App" # Specify the name of the preset in `export_presets.cfg` to use
subdirectory: "" # Optional, default is an empty string
package: true # Optional, set to true to output an artifact zip file
projectDir: . # Optional, default is .
debugMode: true # Optional, specify true or false to use `--export-debug`
- name: Godot Build Info
uses: robpc/[email protected]
with:
version: 1.0.0 # Specify package version
commit: ${{ github.sha }} # Specify the commit hash
build_date: ${{ github.run_date }} # Specify the build date/time
file: override.cfg # Specify the file to add the overrides
- name: Upload Build
uses: actions/upload-artifact@v4
with:
name: StarJump build
path: build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: StarJump artifact
path: artifact