2023-01-25 19:12:07 +01:00
|
|
|
name: Import assets
|
2023-01-25 19:39:06 +01:00
|
|
|
inputs:
|
|
|
|
godot-version:
|
|
|
|
required: true
|
2023-01-25 19:12:07 +01:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2023-01-25 19:39:06 +01:00
|
|
|
- name: Setup Godot
|
2024-02-13 03:22:16 +01:00
|
|
|
uses: lihop/setup-godot@v2
|
2023-01-25 19:39:06 +01:00
|
|
|
with:
|
|
|
|
version: ${{ inputs.godot-version }}
|
2024-02-17 23:50:38 +01:00
|
|
|
- name: Install just
|
|
|
|
uses: taiki-e/install-action@just
|
|
|
|
- name: Install dev dependencies
|
|
|
|
shell: bash
|
|
|
|
run: just install
|
2023-01-25 19:12:07 +01:00
|
|
|
- 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
|