From a1ff9b989280cf79fe9374f1b03c5cc13200de5b Mon Sep 17 00:00:00 2001 From: Ash Manning Date: Mon, 29 Jul 2024 20:25:02 +0800 Subject: [PATCH] update CI to use Godot w/Bitcoin module --- .github/workflows/build.yml | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a82158..6165778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,16 +18,43 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: chickensoft-games/setup-godot@v1 + #- uses: chickensoft-games/setup-godot@v1 + #with: + #version: 4.2.1 + #use-dotnet: false + #include-templates: true + + - name: Download Godot w/Bitcoin module (linux / windows) + if: ${{ matrix.build == 'linux' || matrix.build == 'windows' }} + uses: robinraju/release-downloader@v1.11 with: - version: 4.2.1 - use-dotnet: false - include-templates: true + repository: LayerTwo-Labs/godot-bitcoin-module + tag: v4.2.2-bitcoin + filename: 'godot.linuxbsd.editor.x86_64.mono' - - name: Verify Setup + - name: Download Godot w/Bitcoin module (macos) + if: ${{ matrix.build == 'macos' }} + uses: robinraju/release-downloader@v1.11 + with: + repository: LayerTwo-Labs/godot-bitcoin-module + tag: v4.2.2-bitcoin + filename: 'godot.macos.editor.universal' + + # FIXME: remove + - name: show files + run: ls + + # FIXME: unknown binary location + - name: Verify Setup (linux) + if: ${{ matrix.build == 'linux' || matrix.build == 'windows' }} run: | godot --version + - name: Verify Setup (macos) + if: ${{ matrix.build == 'macos' }} + run: | + ./godot.macos.editor.universal --version + - name: Import certificate to Keychain if: ${{ matrix.build == 'macos' }} run: |