Skip to content

Commit

Permalink
updated action config
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrieber committed Mar 31, 2024
1 parent 0dcf34a commit fde7a11
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ inputs:
description: 'The Name of the Build Configuration'
required: true
default: 'WindowsDesktop'
export-type: # id of input
description: 'The type of export [--export-release, --export-debug, --export-pack]'
required: false
default: '--export-release'
project-path: # id of input
description: 'path to the project root relativ to the repository root(defaults to project)'
required: false
default: 'project'
runs:
using: 'docker'
image: 'Dockerfile'
#image: 'docker://ghcr.io/bbrieber/godot_ci_image:6fe1c56026b9e17e29471121acc1789b9c9af66d
args:
- ${{ inputs.build-config }}
- ${{ inputs.export-type }}
- ${{ inputs.project-path }}
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ echo `ls /godot/templates`
echo "Template Folder"
echo `ls /github/home/.local/share/godot/export_templates/4.2.1.stable/`

/godot/Godot_v4.2.1-stable_linux.x86_64 --headless --path /github/workspace/project --export-release $1
/godot/Godot_v4.2.1-stable_linux.x86_64 --headless --path /github/workspace/$3 $2 $1

0 comments on commit fde7a11

Please sign in to comment.