Releases · arduino/setup-task (original) (raw)

2.0.0

Migration Guide

The version of the Node.js runtime used to execute the action has been updated from 16 to 20. This could be a breaking change for certain GitHub Actions workflows.

If a workflow with dependency on the arduino/setup-task action uses only GitHub-hosted GitHub Actions runners, no changes are required.

If the workflow uses a self-hosted runner, the workflow run might fail after updating arduino/setup-task:

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load arduino/setup-task/v2/action.yml

This means an older runner version that does not provide Node.js 20.x is installed on the runner machine and you must update the runner version.

Changelog

Breaking

Enhancement

Full Changeset

1.0.3...2.0.0

Contributors

1.0.3

Changelog

Enhancement

Full Changeset

1.0.2...1.0.3

1.0.2

Release Notes

Changelog

Enhancement

Contributors


Full Changeset: 1.0.1...1.0.2

1.0.1

Changelog

Bug Fix

Enhancement

1.0.0

Initial release of the arduino/setup-task GitHub Actions action.

Migration guide for arduino/actions/setup-taskfile action users

Action name change

With the move to this dedicated repository from its provisional home in the experimental repository, the action name has changed. This requires a change to workflows using the action.

Change:

uses: arduino/actions/setup-taskfile@master

to:

uses: arduino/setup-task@v1