deb6025781
This ensures that the godot-cpp job has plenty of resources to run its build and avoid being affected by the main build. Additionally: - Extract test tasks into dedicated actions. - Upload artifacts as early as possible. - Ensure that we check master cache before random cache.
24 lines
675 B
YAML
24 lines
675 B
YAML
name: Dump Godot API
|
|
description: Dump Godot API for GDExtension
|
|
inputs:
|
|
bin:
|
|
description: The path to the Godot executable
|
|
required: true
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
# Dump GDExtension interface and API
|
|
- name: Dump GDExtension interface and API for godot-cpp build
|
|
shell: sh
|
|
run: |
|
|
${{ inputs.bin }} --headless --dump-gdextension-interface --dump-extension-api
|
|
mkdir godot-api
|
|
cp -f gdextension_interface.h godot-api/
|
|
cp -f extension_api.json godot-api/
|
|
|
|
- name: Upload API dump
|
|
uses: ./.github/actions/upload-artifact
|
|
with:
|
|
name: 'godot-api-dump'
|
|
path: './godot-api/*'
|
|
|