From c9fb91ed81dffad33c5def8900156d090325823d Mon Sep 17 00:00:00 2001 From: Colin Halseth Date: Tue, 16 Jul 2024 19:07:11 -0700 Subject: [PATCH] Work on deploying godot project automatically --- .github/workflows/release.yml | 6 ++++-- Readme.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b2cdb4..4c58105 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: run: dotnet test godot: + needs: [ test ] name: Upload Binaries runs-on: ${{ matrix.os }} strategy: @@ -42,8 +43,9 @@ jobs: with: dotnet-version: '8.0.x' # SDK Version to use - name: Download Godot - run: - curl -LO https://github.com/godotengine/godot-builds/releases/download/${{ matrix.godot }}/Godot_v${{ matrix.godot }}_mono_linux_x86_64.zip -o godot.zip && mkdir Godot && unzip godot.zip -d Godot && mv Godot/Godot_v${{ matrix.godot }}_mono_linux_x86_64 Godot/Engine && mv Godot/Engine/Godot_v${{ matrix.godot }}_mono_linux.x86_64 Godot/Engine/godot + run: curl -LO https://github.com/godotengine/godot-builds/releases/download/${{ matrix.godot }}/Godot_v${{ matrix.godot }}_mono_linux_x86_64.zip -o godot.zip + - name: Extract Godot + run: mkdir Godot && unzip godot.zip -d Godot && mv Godot/Godot_v${{ matrix.godot }}_mono_linux_x86_64 Godot/Engine && mv Godot/Engine/Godot_v${{ matrix.godot }}_mono_linux.x86_64 Godot/Engine/godot - name: Build Binary run: mkdir -p ./bin/${{ matrix.platform }} && ./Godot/Engine/godot --path ./Gameboy.Player.Godot/project.godot --export ${{ matrix.platform }} ./bin/${{ matrix.platform }} diff --git a/Readme.md b/Readme.md index 48ca6b5..cab5cb2 100644 --- a/Readme.md +++ b/Readme.md @@ -14,7 +14,7 @@ The following table shows each front-end inluded in this repository and the hard | Front-End | Download | Speed | Display | Input | Sound | Serial | |-----------|----------|-------|---------|-------|-------|--------| -| CLI | [nuget](https://github.com/qkmaxware/BlazorBoy/pkgs/nuget/Gameboy.Player.Cli) | SLOW | Mono/Symbolic ASCII | Keyboard(1) | -- | -- | +| CLI | [nuget](https://github.com/qkmaxware/BlazorBoy/pkgs/nuget/Blazorboy.Cli) | SLOW | Mono/Symbolic ASCII | Keyboard(1) | -- | -- | | Blazor | [link](https://qkmaxware.github.io/BlazorBoy/) | MEDIUM | Mono | Touch/Keyboard | -- | -- | | Godot | [exe](https://github.com/qkmaxware/BlazorBoy/releases/latest) | FAST | Colour | Touch/Keyboard/Gamepad | -- | -- |