The default value of the version input is defined in the action metadata, so having another default setting in the code is purely redundant and doubles the maintenance effort required on every major release of Task (note that they already went out of sync).
16 lines
347 B
YAML
16 lines
347 B
YAML
name: "arduino/setup-task"
|
|
description: "Download Task and add it to the PATH"
|
|
author: "Arduino"
|
|
inputs:
|
|
version:
|
|
description: "Version to use. Example: 3.4.2"
|
|
required: true
|
|
default: "3.x"
|
|
repo-token:
|
|
description: "Token with permissions to do repo things"
|
|
required: false
|
|
|
|
runs:
|
|
using: "node12"
|
|
main: "dist/index.js"
|