mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Add back cwd input (#718)
This commit is contained in:
@@ -20,7 +20,9 @@ This action selects the mode to run a Changesets workflow:
|
||||
|
||||
<!-- api-start -->
|
||||
|
||||
Inputs: _none_
|
||||
| Inputs | Description |
|
||||
| ------ | --------------------------------------------------------------------------------------- |
|
||||
| `cwd` | The working directory to execute Changesets in. Defaults to the root of the repository. |
|
||||
|
||||
| Outputs | Description |
|
||||
| -------------------------- | ---------------------------------------------------------------------------- |
|
||||
|
||||
@@ -3,7 +3,10 @@ description: Whether to version or publish in the current repo state
|
||||
runs:
|
||||
using: node24
|
||||
main: ../dist/select-mode.js
|
||||
inputs: {}
|
||||
inputs:
|
||||
cwd:
|
||||
description: "The working directory to execute Changesets in. Defaults to the root of the repository."
|
||||
required: false
|
||||
outputs:
|
||||
mode:
|
||||
description: "The mode to use for the current repo state: 'version', 'publish', or 'none'."
|
||||
|
||||
Reference in New Issue
Block a user