fix: add GitHub server check to workflows and streamline CMake installation
Build / Build (push) Has been skipped
Release / gitea-draft-release (push) Successful in 2s
Release / prepare (push) Has been skipped
Release / build_linux (push) Has been skipped
Release / build_macos (push) Has been skipped
Release / build_windows (push) Has been skipped
Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled

This commit is contained in:
ShiftyX1
2025-12-09 00:58:41 +03:00
parent 3da03fdd7f
commit c7f98a176f
7 changed files with 101 additions and 90 deletions
+3 -8
View File
@@ -14,16 +14,11 @@ on:
jobs:
build-dmg:
# Only run on GitHub, skip on Gitea
if: github.server_url == 'https://github.com'
runs-on: macos-latest
steps:
- name: Check if running on macOS
run: |
if [[ "$(uname)" != "Darwin" ]]; then
echo "::error::This workflow requires a real macOS runner, not Docker"
exit 1
fi
- uses: actions/checkout@v2
with:
submodules: 'true'
@@ -65,4 +60,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: VoxelEngineMacOs
path: VoxelEngineMacApp.dmg
path: VoxelEngineMacApp.dmg