Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
415a3886b0 | ||
|
|
992b2184f6 | ||
|
|
4e2ccd975b |
@@ -21,12 +21,12 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
export:
|
export:
|
||||||
runs-on: linux
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: godot-export
|
- 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:
|
with:
|
||||||
godot-version: 4.7.2-stable
|
godot-version: 4.7.2-stable
|
||||||
host-os: linux
|
host-os: linux
|
||||||
@@ -36,9 +36,7 @@ jobs:
|
|||||||
export-mode: release
|
export-mode: release
|
||||||
export-file-name: my-game.exe
|
export-file-name: my-game.exe
|
||||||
|
|
||||||
# On Gitea Runner 2.x, use the Gitea artifact fork. Newer runners can
|
- uses: actions/upload-artifact@v4
|
||||||
# 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 }}
|
||||||
@@ -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`. |
|
| `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-preset` | Yes | — | The preset name exactly as it appears in `export_presets.cfg`. |
|
| `export-mode` | No | `debug` | Choose `release` for a shipping build or `debug` for a debug build. |
|
||||||
| `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
@@ -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: release
|
default: debug
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user