-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
48 lines (48 loc) · 1.33 KB
/
action.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
name: "macos-universal-binary-action"
description: 'Action to create and upload macOS Universal binaries from Github releases'
branding:
icon: "box"
color: "purple"
inputs:
owner:
description: "Owner of the Github repository"
required: true
repository:
description: "Github repository name"
required: true
tag:
description: "Github release tag for asset download/upload"
required: false
default: "latest"
amd64:
description: "Substring to filter the amd64 binary"
required: true
arm64:
description: "Substring to filter the arm64 binary"
required: true
compressed:
description: "Specify whether Github assets are compressed"
required: false
default: "true"
overwrite:
description: "Overwrite if a binary of the same name already exists"
required: false
default: "false"
universal-identifier:
description: "Identifier string for the Github asset containing the universal binary"
required: false
default: "all"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.owner }}
- ${{ inputs.repository }}
- ${{ inputs.tag }}
- ${{ inputs.amd64 }}
- ${{ inputs.arm64 }}
- ${{ inputs.compressed }}
- ${{ inputs.overwrite }}
- ${{ inputs.universal-identifier }}
- ${{ inputs.binary-path }}
- ${{ inputs.folder-wrapped }}