File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 6
6
SCHEMA_DRAFT_4_AJV_CLI_VERSION : 3.3.0
7
7
8
8
tasks :
9
+ # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-npm-dependencies-task/Taskfile.yml
10
+ general:prepare-deps :
11
+ desc : Prepare project dependencies for license check
12
+ deps :
13
+ - task : npm:install-deps
14
+
9
15
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml
10
16
general:cache-dep-licenses :
11
17
desc : Cache dependency license metadata
18
+ deps :
19
+ - task : general:prepare-deps
12
20
cmds :
13
21
- |
14
22
if ! which licensed &>/dev/null; then
15
23
if [[ {{OS}} == "windows" ]]; then
16
24
echo "Licensed does not have Windows support."
17
25
echo "Please use Linux/macOS or download the dependencies cache from the GitHub Actions workflow artifact."
18
26
else
19
- echo "licensed not found or not in PATH. Please install: https://github.com/github/licensed#as-an-executable"
27
+ echo "licensed not found or not in PATH."
28
+ echo "Please install: https://github.com/github/licensed#as-an-executable"
20
29
fi
21
30
exit 1
22
31
fi
You can’t perform that action at this time.
0 commit comments