godot-xterm/.github/actions/import-assets/action.yml
Leroy Hopson db3564f0cc
Setup tests
- Install Gut using gd-plug.
- Add some basic tests.
- Update workflow to run tests.
- Add test and gd-plug install/uninstall recipes to Justfile.
- Re-enable debug builds as these are used by editor when testing.
2024-02-18 14:06:25 +13:00

21 lines
626 B
YAML

name: Import assets
inputs:
godot-version:
required: true
runs:
using: "composite"
steps:
- name: Setup Godot
uses: lihop/setup-godot@v2
with:
version: ${{ inputs.godot-version }}
- name: Install just
uses: taiki-e/install-action@just
- name: Install dev dependencies
shell: bash
run: just install
- name: Import assets
shell: bash
run: |
# HACK: See https://github.com/godotengine/godot-proposals/issues/1362.
(for i in {1..4}; do godot --editor --headless & sleep 5 && .github/actions/import-assets/monitor_import.sh; done) || true