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
Copy file name to clipboardExpand all lines: README.md
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,14 +43,15 @@ then make sure that you configure this in your `package.json` file:
43
43
```
44
44
45
45
### Inputs
46
-
| Input Parameter | Required | Description |
47
-
|:----------------:|:--------:|-------------|
48
-
| semantic_version | false | Specify specifying version range for semantic-release. [[Details](#semantic_version)] |
49
-
| branches | false | The branches on which releases should happen.[[Details](#branches)]<br>Support for **semantic-release above v16**. |
50
-
| branch | false | The branch on which releases should happen.[[Details](#branch)]<br>Only support for **semantic-release older than v16**. |
51
-
| extra_plugins | false | Extra plugins for pre-install. [[Details](#extra_plugins)] |
52
-
| dry_run | false | Whether to run semantic release in `dry-run` mode. [[Details](#dry_run)] |
53
-
| extends | false | Use a sharable configuration [[Details](#extends)] |
46
+
| Input Parameter | Required | Description |
47
+
|:-----------------:|:--------:|-------------|
48
+
| semantic_version | false | Specify specifying version range for semantic-release. [[Details](#semantic_version)] |
49
+
| branches | false | The branches on which releases should happen.[[Details](#branches)]<br>Support for **semantic-release above v16**. |
50
+
| branch | false | The branch on which releases should happen.[[Details](#branch)]<br>Only support for **semantic-release older than v16**. |
51
+
| extra_plugins | false | Extra plugins for pre-install. [[Details](#extra_plugins)] |
52
+
| dry_run | false | Whether to run semantic release in `dry-run` mode. [[Details](#dry_run)] |
53
+
| extends | false | Use a sharable configuration [[Details](#extends)] |
54
+
| working_directory | false | Use another working directory for semantic release [[Details](#working_directory)] |
54
55
55
56
#### semantic_version
56
57
> {Optional Input Parameter} Specify specifying version range for semantic-release.<br>If no version range is specified, latest version will be used by default.
@@ -206,6 +207,23 @@ steps:
206
207
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
207
208
```
208
209
210
+
#### working_directory
211
+
This action run semantic release in the github provided workspace by default. You can override it by setting another working directory.
212
+
213
+
```yaml
214
+
steps:
215
+
- name: Checkout
216
+
uses: actions/checkout@v2
217
+
- name: Semantic Release
218
+
uses: cycjimmy/semantic-release-action@v2
219
+
with:
220
+
# You can select another working directory like a subdirectory for example.
0 commit comments