action.yml 670 B

1234567891011121314151617181920212223242526
  1. name: Dump Godot API
  2. description: Dump Godot API for GDExtension
  3. inputs:
  4. bin:
  5. description: The path to the Godot executable
  6. required: true
  7. runs:
  8. using: composite
  9. steps:
  10. # Dump GDExtension interface and API
  11. - name: Dump GDExtension interface and API for godot-cpp build
  12. shell: sh
  13. run: |
  14. ${{ inputs.bin }} --headless --dump-gdextension-interface --dump-extension-api
  15. mkdir godot-api
  16. cp -f gdextension_interface.h godot-api/
  17. cp -f extension_api.json godot-api/
  18. - name: Upload API dump
  19. uses: ./.github/actions/upload-artifact
  20. with:
  21. name: godot-api-dump
  22. path: ./godot-api/*