godot-xterm/.github/actions/import-assets/action.yml
2024-02-13 20:34:47 +13:00

16 lines
482 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: 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