1 Commits
Author SHA1 Message Date
omgitsalexl c0591766a1 Added the license and readme files 2026-08-28 11:02:47 -07:00
2 changed files with 9 additions and 7 deletions
+8 -6
View File
@@ -21,12 +21,12 @@ on: [push]
jobs: jobs:
export: export:
runs-on: ubuntu-24.04 runs-on: linux
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- id: godot-export - id: godot-export
uses: https://git.omgitsalexl.me/omgitsalexl/godot-export-action@v1 uses: https://gitea.example.com/your-org/godot-export-action@v1
with: with:
godot-version: 4.7.2-stable godot-version: 4.7.2-stable
host-os: linux host-os: linux
@@ -36,7 +36,9 @@ jobs:
export-mode: release export-mode: release
export-file-name: my-game.exe export-file-name: my-game.exe
- uses: actions/upload-artifact@v4 # On Gitea Runner 2.x, use the Gitea artifact fork. Newer runners can
# use the artifact action supported by your installation.
- uses: https://github.com/christopherhx/gitea-upload-artifact@v4
with: with:
name: my-game name: my-game
path: ${{ steps.godot-export.outputs.build-directory }} path: ${{ steps.godot-export.outputs.build-directory }}
@@ -51,11 +53,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`. | | `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-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`. | | `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. | | `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. | | `project-path` | No | `.` | Where your Godot project sits inside the checked-out repository. |
| `export-mode` | No | `debug` | Choose `release` for a shipping build or `debug` for a debug build. | | `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. |
| `cache` | No | `true` | Set to `false` if you need a completely fresh Godot download for a run. | | `cache` | No | `true` | Set to `false` if you need a completely fresh Godot download for a run. |
## Outputs ## Outputs
+1 -1
View File
@@ -25,7 +25,7 @@ inputs:
export-mode: export-mode:
description: "Export mode: release or debug." description: "Export mode: release or debug."
required: false required: false
default: debug default: release
export-file-name: export-file-name:
description: Output filename only, including its platform-appropriate extension. description: Output filename only, including its platform-appropriate extension.
required: true required: true