diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index bbcd881a..540fb068 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd010074..c39ab74d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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