diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a82158..399baa6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,18 +14,48 @@ jobs: fail-fast: false matrix: build: [macos, windows, linux] + include: + - build: linux + godot-bin: 'godot.linuxbsd.editor.x86_64.mono' + - build: macos + godot-bin: 'godot.macos.editor.universal' + # Windows build runs on Ubuntu + - build: windows + godot-bin: 'godot.linuxbsd.editor.x86_64.mono' steps: - uses: actions/checkout@v3 - uses: chickensoft-games/setup-godot@v1 with: - version: 4.2.1 + version: 4.2.2 use-dotnet: false include-templates: true + - name: Download Godot w/Bitcoin module + uses: robinraju/release-downloader@v1.11 + with: + repository: LayerTwo-Labs/godot-bitcoin-module + tag: v4.2.2-bitcoin + filename: ${{ matrix.godot-bin }} + + # FIXME: remove + - name: show files + run: | + ls + echo 'TEMPLATES' + ls '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable' + echo 'MACOS TEMPLATES' + zipinfo -1 '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable/macos.zip' + echo 'VERSION TXT' + cat '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable/version.txt' + echo $GODOT + + # FIXME: unknown binary location - name: Verify Setup run: | + chmod +x ${{ matrix.godot-bin }} + mv ${{ matrix.godot-bin }} $GODOT godot --version - name: Import certificate to Keychain