3 Commits
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -51,11 +51,11 @@ The uploaded artifact is the whole build folder, so companion files such as a `.
| `godot-version` | Yes | — | The Godot 4 release tag to use, without the leading `v`; for example, `4.7.2-stable`. |
| `host-os` | Yes | — | The machine running the job: `linux`, `macos`, or `windows`. The action checks this before it starts. |
| `host-arch` | Yes | — | The runner's architecture. Linux supports `x86_32`, `x86_64`, `arm32`, and `arm64`; Windows supports `x86_32`, `x86_64`, and `arm64`; macOS supports `x86_64` and `arm64`. |
| `export-preset` | Yes | — | The preset name exactly as it appears in `export_presets.cfg`. |
| `export-file-name` | Yes | — | The name of the exported file, such as `my-game.exe` or `my-game.zip`. Use the extension your target expects. |
| `dotnet` | No | `false` | Set this to `true` for a Godot .NET/C# project. |
| `project-path` | No | `.` | Where your Godot project sits inside the checked-out repository. |
| `export-preset` | Yes | — | The preset name exactly as it appears in `export_presets.cfg`. |
| `export-mode` | No | `release` | Choose `release` for a shipping build or `debug` for a debug build. |
| `export-file-name` | Yes | — | The name of the exported file, such as `my-game.exe` or `my-game.zip`. Use the extension your target expects. |
| `export-mode` | No | `debug` | Choose `release` for a shipping build or `debug` for a debug build. |
| `cache` | No | `true` | Set to `false` if you need a completely fresh Godot download for a run. |
## Outputs
+4 -4
View File
@@ -25,7 +25,7 @@ inputs:
export-mode:
description: "Export mode: release or debug."
required: false
default: release
default: debug
export-file-name:
description: Output filename only, including its platform-appropriate extension.
required: true
@@ -51,7 +51,7 @@ runs:
- name: Export Godot project on Linux
id: export-linux
if: ${{ runner.os == 'Linux' }}
if: ${{ runner.os == 'linux' }}
shell: bash
env:
GODOT_VERSION: "${{ inputs.godot-version }}"
@@ -67,7 +67,7 @@ runs:
- name: Export Godot project on macOS
id: export-macos
if: ${{ runner.os == 'macOS' }}
if: ${{ runner.os == 'macos' }}
shell: bash
env:
GODOT_VERSION: "${{ inputs.godot-version }}"
@@ -83,7 +83,7 @@ runs:
- name: Export Godot project on Windows
id: export-windows
if: ${{ runner.os == 'Windows' }}
if: ${{ runner.os == 'windows' }}
shell: powershell
env:
GODOT_VERSION: "${{ inputs.godot-version }}"