Skip to content

Commit

Permalink
fix gdext import workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Jul 1, 2024
1 parent a8658d6 commit 2b57216
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/import/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ runs:
cd imgui-godot-*/imgui-godot-* || true
cd ${{ inputs.path }}
godotenv addons install
mkdir .godot
echo "res://addons/imgui-godot/imgui-godot-native.gdextension" > .godot/extension_list.cfg
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

0 comments on commit 2b57216

Please sign in to comment.