fix: add macOS runner check to workflow and remove macOS build step from release
Some checks failed
Build / Build (push) Successful in 9m26s
Build and Release / prepare (push) Successful in 0s
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
Build and Release / build_linux (push) Successful in 10m4s
Build and Release / build_windows (push) Failing after 13s
Build and Release / publish_release (push) Has been skipped

This commit is contained in:
ShiftyX1 2025-12-09 00:08:14 +03:00
parent b1837571cc
commit 70aa850999
2 changed files with 8 additions and 9 deletions

View File

@ -17,6 +17,13 @@ jobs:
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'

View File

@ -25,11 +25,6 @@ jobs:
uses: ./.github/workflows/appimage.yml
with:
build_name: '${{ needs.prepare.outputs.build_name }}'
build_macos:
needs: [prepare]
uses: ./.github/workflows/macos.yml
with:
build_name: '${{ needs.prepare.outputs.build_name }}'
build_windows:
needs: [prepare]
uses: ./.github/workflows/windows-clang.yml
@ -37,7 +32,7 @@ jobs:
build_name: '${{ needs.prepare.outputs.build_name }}'
publish_release:
runs-on: ubuntu-latest
needs: [build_linux, build_macos, build_windows]
needs: [build_linux, build_windows]
steps:
- name: Checkout Release Branch
uses: actions/checkout@v4
@ -52,8 +47,6 @@ jobs:
mkdir release
mv ./artifacts/AppImage/VoxelCore-latest-x86_64.AppImage \
./release/voxelcore-${RELEASE_VERSION}_x86-64.AppImage
mv ./artifacts/VoxelEngineMacOs/VoxelEngineMacApp.dmg \
./release/voxelcore-${RELEASE_VERSION}_macos.dmg
(cd ./artifacts/Windows-Build && zip -r ../../release/voxelcore-${RELEASE_VERSION}_win64.zip .)
ls -la ./release
tree ./release
@ -76,7 +69,6 @@ jobs:
### Downloads
- **Linux**: voxelcore-${{ env.RELEASE_VERSION }}_x86-64.AppImage
- **macOS**: voxelcore-${{ env.RELEASE_VERSION }}_macos.dmg
- **Windows**: voxelcore-${{ env.RELEASE_VERSION }}_win64.zip
### Installation