fix: add macOS runner check to workflow and remove macOS build step from release
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
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user