GHA: In test builds, build also a macOS arm64 binary and make a bundle
This commit is contained in:
parent
fb36b6902d
commit
c364378e30
|
@ -73,7 +73,7 @@ jobs:
|
||||||
arch: arm64
|
arch: arm64
|
||||||
build-mono: false
|
build-mono: false
|
||||||
artifact-name: macos-editor
|
artifact-name: macos-editor
|
||||||
should-build: ${{ !inputs.test-build }}
|
should-build: true
|
||||||
|
|
||||||
- name: Template (arm64, release)
|
- name: Template (arm64, release)
|
||||||
target: template_release
|
target: template_release
|
||||||
|
@ -222,7 +222,6 @@ jobs:
|
||||||
runs-on: "macos-latest"
|
runs-on: "macos-latest"
|
||||||
name: Make macOS Bundles
|
name: Make macOS Bundles
|
||||||
needs: macos-builds
|
needs: macos-builds
|
||||||
if: ${{ !inputs.test-build }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -274,12 +273,14 @@ jobs:
|
||||||
path: out/editor/*
|
path: out/editor/*
|
||||||
|
|
||||||
- name: Download templates artifact
|
- name: Download templates artifact
|
||||||
|
if: ${{ !inputs.test-build }}
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macos-templates
|
name: macos-templates
|
||||||
path: bin/
|
path: bin/
|
||||||
|
|
||||||
- name: Make templates bundle
|
- name: Make templates bundle
|
||||||
|
if: ${{ !inputs.test-build }}
|
||||||
run: |
|
run: |
|
||||||
rm -rf out/
|
rm -rf out/
|
||||||
ls bin/
|
ls bin/
|
||||||
|
@ -306,6 +307,7 @@ jobs:
|
||||||
failOnError: false
|
failOnError: false
|
||||||
|
|
||||||
- name: Upload templates bundle
|
- name: Upload templates bundle
|
||||||
|
if: ${{ !inputs.test-build }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.NAME_PREFIX}}.export-templates
|
name: ${{env.NAME_PREFIX}}.export-templates
|
||||||
|
|
Loading…
Reference in New Issue