-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
97 lines (81 loc) · 3.1 KB
/
action.yaml
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
94
95
96
97
%YAML 1.1
# ^-- ATTN: [2019-12-31] If you use a later version, Github will fail
# with error message "Found incompatible YAML document."
# -*- coding: UTF-8, tab-width: 4 -*-
---
name: 'Build NodeMCU'
description: 'Build a NodeMCU firmware image.'
branding:
# https://github.com/mk-pmb/feather-icons-preview-pmb
icon: 'package'
color: 'orange'
inputs:
build_timezone:
description: 'What timezone to use for the build, and thus, the dates in the version information.'
required: false
default: 'UTC'
build_custom_make_opts:
description: 'Custom options for "make" to put in front of the targets list, in build strategies that support it.'
required: false
default: ''
build_custom_make_targets:
description: 'Custom targets list for "make", in build strategies that support it.'
required: false
default: ''
firmware_srcdir:
description: 'Where to put or expect the firmware files.'
required: false
default: '/opt/nodemcu-firmware'
firmware_repo:
description: 'Which repo to clone the firmware source from, in case there is no Makefile in `firmware_srcdir` yet.'
required: false
default: 'https://github.com/nodemcu/nodemcu-firmware.git'
firmware_branch:
description: 'Which branch of the firmware source repo to clone.'
required: false
default: 'master'
firmware_git_reset:
description: 'If non-empty, hard-reset the repo to whatever is given here. It should probably be something commit-ish.'
required: false
default: ''
firmware_apply_patches:
description: 'Apply (git am) these patches. Whitespace-separated list of file paths and/or URLs.'
required: false
default: ''
firmware_hotfix_cmd:
description: 'A command to run in the firmware directory to pre-configure it or similar.'
required: false
default: ''
firmware_verify_license:
description: "Optionally verify that a file from the firmware repo has the same content as a file from the recipe repo."
required: false
default: ''
firmware_build_cmd:
description: 'Override the actual build command.'
required: false
default: ''
recipe_hotfix_cmd:
description: 'A command to run in the recipe directory (aka your repo) to pre-configure it or similar.'
required: false
default: ''
results_dir:
description: 'Where to put the result files. Must be a subdirectory path relative to the GitHub workspace.'
required: false
default: 'results'
results_rename_sed:
description: 'Additional GNU sed rules for filtering or renaming result files.'
required: false
default: ''
ci_import_env:
description: 'A file with custom environment variables, as key=value pair lines.'
required: false
default: ''
hook_opt:
description: 'Opaque options for your custom hooks.'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args: []
...