2023-08-01 18:38:07 +00:00
|
|
|
name: Dump Godot API
|
|
|
|
description: Dump Godot API for GDExtension
|
2024-07-08 15:41:20 +00:00
|
|
|
|
2023-08-01 18:38:07 +00:00
|
|
|
inputs:
|
|
|
|
bin:
|
|
|
|
description: The path to the Godot executable
|
|
|
|
required: true
|
2024-07-08 15:41:20 +00:00
|
|
|
|
2023-08-01 18:38:07 +00:00
|
|
|
runs:
|
2024-07-08 15:41:20 +00:00
|
|
|
using: composite
|
2023-08-01 18:38:07 +00:00
|
|
|
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:
|
2024-07-08 15:41:20 +00:00
|
|
|
name: godot-api-dump
|
|
|
|
path: ./godot-api/*
|