generated from Justintime50/python-template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
93 lines (93 loc) · 3.46 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: "Homebrew Releaser"
description: "Release scripts, binaries, and executables directly to Homebrew via GitHub Actions."
branding:
icon: "package"
color: "orange"
inputs:
homebrew_owner:
description: "The name of the homebrew tap owner to publish your formula to as it appears on GitHub."
required: true
homebrew_tap:
description: "The name of the homebrew tap to publish your formula to as it appears on GitHub."
required: true
formula_folder:
description: "The name of the folder in your homebrew tap where formula will be committed to."
required: true
default: "Formula"
github_token:
description: "The GitHub Token (saved as a repo secret) that has `repo` permissions for the homebrew tap you want to release to."
required: true
commit_owner:
description: "Git author info used to commit to the homebrew tap."
required: false
default: "homebrew-releaser@example.com"
commit_email:
description: "Git author info used to commit to the homebrew tap."
required: false
default: "homebrew-releaser@example.com"
depends_on:
description: "Custom dependencies in case other formulas are needed to build the current one (can be multiline)."
required: false
install:
description: "Custom install command for your formula."
required: true
test:
description: "Custom test command for your formula so you can run `brew test`."
required: false
download_strategy:
description: "The Homebrew download strategy to use for formulas."
required: false
custom_require:
description: "Allows you to add a custom require_relative at the top of the formula template."
required: false
formula_includes:
description: "Allows you to add custom includes inside the formula class, before dependencies and install blocks."
required: false
version:
description: "Override the automatically detected version of a formula with an explicit value."
required: false
target_darwin_amd64:
description: "Add a custom URL/checksum target for AMD64 Darwin builds."
required: false
target_darwin_arm64:
description: "Add a custom URL/checksum target for ARM64 Darwin builds."
required: false
target_linux_amd64:
description: "Add a custom URL/checksum target for AMD64 Linux builds."
required: false
target_linux_arm64:
description: "Add a custom URL/checksum target for ARM64 Linux builds."
required: false
update_readme_table:
description: "Update your homebrew tap's README with a table of all projects in the tap."
required: false
skip_commit:
description: "Skips committing the generated formula to a homebrew tap (useful for local testing)."
required: false
debug:
description: "Logs debugging info to console."
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.homebrew_owner }}
- ${{ inputs.homebrew_tap }}
- ${{ inputs.formula_folder }}
- ${{ inputs.github_token }}
- ${{ inputs.commit_owner }}
- ${{ inputs.commit_email }}
- ${{ inputs.depends_on }}
- ${{ inputs.install }}
- ${{ inputs.test }}
- ${{ inputs.download_strategy }}
- ${{ inputs.custom_require }}
- ${{ inputs.formula_includes }}
- ${{ inputs.version }}
- ${{ inputs.target_darwin_amd64 }}
- ${{ inputs.target_darwin_arm64 }}
- ${{ inputs.target_linux_amd64 }}
- ${{ inputs.target_linux_arm64 }}
- ${{ inputs.update_readme_table }}
- ${{ inputs.skip_commit }}
- ${{ inputs.debug }}