Skip to content

Commit

Permalink
Work on deploying godot project automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
qkmaxware committed Jul 17, 2024
1 parent e1a974a commit c9fb91e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: dotnet test

godot:
needs: [ test ]
name: Upload Binaries
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<sup>(1)</sup> | -- | -- |
| CLI | [nuget](https://github.com/qkmaxware/BlazorBoy/pkgs/nuget/Blazorboy.Cli) | SLOW | Mono/Symbolic ASCII | Keyboard<sup>(1)</sup> | -- | -- |
| 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 | -- | -- |

Expand Down

0 comments on commit c9fb91e

Please sign in to comment.