mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-14 15:25:32 +02:00
Remove asset import job
This commit is contained in:
parent
5c175d9192
commit
60054e7ee0
3 changed files with 12 additions and 99 deletions
21
.github/actions/import-assets/action.yml
vendored
21
.github/actions/import-assets/action.yml
vendored
|
@ -1,21 +0,0 @@
|
|||
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
|
10
.github/actions/import-assets/monitor_import.sh
vendored
10
.github/actions/import-assets/monitor_import.sh
vendored
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Source: https://github.com/godotengine/godot/pull/68461#issuecomment-1328177902
|
||||
|
||||
while [ "$(printf "%.0f\n" $(top -n 1 -b | awk '/^%Cpu/{print $2}'))" -gt 10 ];
|
||||
do
|
||||
echo "$(top -n 1 -b | awk '/^%Cpu/{print $2}')";
|
||||
done
|
||||
echo "Finished importing. Killing godot editor process";
|
||||
kill -9 $(pgrep -o godot)
|
Loading…
Add table
Add a link
Reference in a new issue