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
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:
parent
b1837571cc
commit
70aa850999
7
.github/workflows/macos.yml
vendored
7
.github/workflows/macos.yml
vendored
@ -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'
|
||||
|
||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user