From 5d7e7ee2e8af6dd1ac7253a9f700ae89a79a5a3e Mon Sep 17 00:00:00 2001 From: Patrick Dawson Date: Fri, 9 Aug 2024 06:51:52 +0200 Subject: [PATCH] test2 --- .github/workflows/gdext.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gdext.yml b/.github/workflows/gdext.yml index 583da20..b1bc097 100644 --- a/.github/workflows/gdext.yml +++ b/.github/workflows/gdext.yml @@ -13,15 +13,29 @@ jobs: dump_interface: name: Dump GDExtension API (double) runs-on: ubuntu-latest + env: + gdver: 4.2.2-stable steps: + - uses: actions/cache@v4 + id: cache + with: + path: gdextension + key: gdextension-api-double-${{ env.gdver }} + - uses: actions/checkout@v4 + if: steps.cache.outputs.cache-hit != 'true' with: repository: godotengine/godot - ref: 4.2.2-stable + ref: ${{ env.gdver }} + + - name: Build + if: steps.cache.outputs.cache-hit != 'true' + run: | + scons precision=double + mkdir gdextension + cd gdextension + ../bin/godot.* --headless --dump-extension-api --dump-gdextension-interface - - run: | - pwd - ls -al build: needs: [dump_interface]