You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
Nx has released their own distributed tasks execution feature for NX Cloud.
Supporting this feature will make nx-affected-matrix way of usage a bit weird (and the action name is a bit unrelated) and it will also require changing some of the inputs of nx-distributed-task.
Therefore, instead of changing the existing actions, 2 new actions will be created: nx-orchestrator and nx-executor.
Specification
nx-affected-matrix & nx-distributed-task:
will be marked deprecated
will continue to receive fixes and features that don't introduce breaking changes
docs will be updated to refer to a migration guide to the new action
nx-orchestrator:
Inputs
targets - comma-separated list of targets to run projects - all | affected | comma-separated list of projects to run per target, default is affected nx-cloud - boolean, if true will use nxCloud with DTE feature cwd - in case the nx repo is not in the workspace's root args - space-separated list of args that will be passed to nx debug - boolean, debug mode
nx-executor:
Inputs
data - the outputted matrix from nx-orchestrator, required if not running with nx-cloud artifacts - boolean, if true will upload all the artifacts per target nx-cloud - boolean, if true will use nxCloud with DTE feature cwd - in case the nx repo is not in the workspace's root args - space-separated list of args that will be passed to nx debug - boolean, debug mode
Background
Nx has released their own distributed tasks execution feature for NX Cloud.
Supporting this feature will make
nx-affected-matrix
way of usage a bit weird (and the action name is a bit unrelated) and it will also require changing some of the inputs ofnx-distributed-task
.Therefore, instead of changing the existing actions, 2 new actions will be created:
nx-orchestrator
andnx-executor
.Specification
nx-affected-matrix
&nx-distributed-task
:nx-orchestrator
:Inputs
targets
- comma-separated list of targets to runprojects
-all
|affected
| comma-separated list of projects to run per target, default isaffected
nx-cloud
- boolean, if true will use nxCloud with DTE featurecwd
- in case the nx repo is not in the workspace's rootargs
- space-separated list of args that will be passed to nxdebug
- boolean, debug modenx-executor
:Inputs
data
- the outputted matrix fromnx-orchestrator
, required if not running with nx-cloudartifacts
- boolean, if true will upload all the artifacts per targetnx-cloud
- boolean, if true will use nxCloud with DTE featurecwd
- in case the nx repo is not in the workspace's rootargs
- space-separated list of args that will be passed to nxdebug
- boolean, debug modeUsage
With GH Actions matrix
With NX Cloud and DTE (reference):
Tasks:
The text was updated successfully, but these errors were encountered: