Compare commits
3
Commits
v1.0.0
..
415a3886b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
415a3886b0 | ||
|
|
992b2184f6 | ||
|
|
4e2ccd975b |
@@ -21,12 +21,12 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
export:
|
||||
runs-on: linux
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- id: godot-export
|
||||
uses: https://gitea.example.com/your-org/godot-export-action@v1
|
||||
uses: https://git.omgitsalexl.me/omgitsalexl/godot-export-action@v1
|
||||
with:
|
||||
godot-version: 4.7.2-stable
|
||||
host-os: linux
|
||||
@@ -36,9 +36,7 @@ jobs:
|
||||
export-mode: release
|
||||
export-file-name: my-game.exe
|
||||
|
||||
# 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
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: my-game
|
||||
path: ${{ steps.godot-export.outputs.build-directory }}
|
||||
@@ -53,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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user