Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- "*"
- "**"

jobs:
build:
Expand All @@ -14,7 +14,7 @@ jobs:
config:
- name: Windows
os: windows-latest

- name: macOS
os: macos-latest

Expand All @@ -34,15 +34,14 @@ jobs:
runs-on: ${{ matrix.config.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Build the mod
uses: geode-sdk/build-geode-mod@main
with:
sdk: nightly
combine: true
target: ${{ matrix.config.target }}

package:
name: Package builds
runs-on: ubuntu-latest
Expand All @@ -52,7 +51,7 @@ jobs:
- uses: geode-sdk/build-geode-mod/combine@main
id: build

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: Build Output
path: ${{ steps.build.outputs.build-output }}
path: ${{ steps.build.outputs.build-output }}
2 changes: 2 additions & 0 deletions src/EditorUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ struct $modify(EditorPauseLayer) {
this->addEventListener(
KeybindSettingPressedEventV3(Mod::get(), "unpause-level"),
[this](Keybind const& id, bool down, bool repeat, double timestamp) {
// fix for spacebar crash on mac (robtop use after free)
auto ref = Ref(this);
if (!repeat && down) {
this->onResume(nullptr);
return ListenerResult::Stop;
Expand Down