forked from JeanPhilippeKernel/RendererEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.04 KB
/
job-deploy-macOS.yml
File metadata and controls
35 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Deploy for macOS
#
name: macOS Deploy Workflow
on:
workflow_call:
inputs:
targetFramework:
type: string
required: true
configuration:
type: string
default: 'Release'
architecture:
type: string
default: 'x64'
jobs:
deploy:
name: deploy-macOS-${{ inputs.architecture }}-${{ inputs.configuration }}
runs-on: ${{ inputs.architecture == 'x64' && 'macos-15-intel' || 'macos-latest' }}
steps:
- uses: actions/download-artifact@v6
with:
path: Result.Darwin.${{ inputs.architecture }}.${{ inputs.configuration }}
name: Build-macOS-${{ inputs.architecture }}-Release
- name: Publish Artifacts
uses: actions/upload-artifact@v6
with:
name: macOS-${{ inputs.architecture }}-${{ inputs.configuration }}
if-no-files-found: error
path: |
Result.Darwin.${{inputs.architecture}}.${{ inputs.configuration }}/bin/
Result.Darwin.${{inputs.architecture}}.${{ inputs.configuration }}/lib/