Commit aaf2f56
committed
feat: Add target_path input to action
Adds a new 'target_path' input to the GitHub Action, allowing users
to specify a subdirectory where version bumping operations should be
performed. This enhances flexibility by enabling the action to operate
on projects not located at the repository root.
- Updated `action.yml` to include the `target_path` input.
- Added `TARGET_PATH` constant in `src/config/index.ts` to read the input.
- Modified `src/index.ts` to change the current working directory to `TARGET_PATH`
at the start of the action execution.1 parent 9933ad8 commit aaf2f56
5 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28387 | 28387 | | |
28388 | 28388 | | |
28389 | 28389 | | |
28390 | | - | |
| 28390 | + | |
28391 | 28391 | | |
28392 | 28392 | | |
28393 | 28393 | | |
28394 | 28394 | | |
| 28395 | + | |
28395 | 28396 | | |
28396 | 28397 | | |
28397 | 28398 | | |
| |||
28482 | 28483 | | |
28483 | 28484 | | |
28484 | 28485 | | |
| 28486 | + | |
28485 | 28487 | | |
28486 | 28488 | | |
28487 | 28489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments