mirror of
https://github.com/pkdawson/imgui-godot.git
synced 2026-09-17 12:14:17 +00:00
32 lines
765 B
YAML
32 lines
765 B
YAML
name: Import
|
|
description: Import
|
|
inputs:
|
|
path:
|
|
description: Path
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 8.0.x
|
|
|
|
- name: Install GodotEnv
|
|
shell: bash
|
|
run: |
|
|
dotnet tool install --global Chickensoft.GodotEnv
|
|
|
|
- name: Prep
|
|
shell: bash
|
|
run: |
|
|
cd imgui-godot-* || true
|
|
cd ${{ inputs.path }}
|
|
godotenv addons install
|
|
if [[ -f addons/imgui-godot/imgui-godot-native.gdextension ]]; then
|
|
mkdir .godot
|
|
echo "res://addons/imgui-godot/imgui-godot-native.gdextension" > .godot/extension_list.cfg
|
|
fi
|
|
$GODOT --headless --import || true
|
|
echo "GAMEDIR=$(pwd)" >> $GITHUB_ENV
|