diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb0da808..45fac3847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ ### 1.2.0 #### Features -- #185 [Placeholder] +- #193 Add all the bash params #### Fixes -- #185 [Placeholder] +- #193 Fixes issue with working-directory ### 1.1.1 diff --git a/README.md b/README.md index c523faaff..94b726f66 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Codecov's Action currently supports five inputs from the user: `token`, `file`, | `path_to_write_report` | Write upload file to path before uploading | Optional | `root_dir` | Used when not in git/hg project to identify project root directory | Optional | `verbose` | Specify whether the Codecov output should be verbose | Optional -| `working_directory` | Directory in which to execute `codecov.sh` | Optional +| `working-directory` | Directory in which to execute `codecov.sh` | Optional | `xcode_derived_data` | Custom Derived Data Path for Coverage.profdata and gcov processing | Optional | `xcode_package` | Specify packages to build coverage. Uploader will only build these packages. This can significantly reduces time to build coverage reports. -J 'MyAppName' Will match "MyAppName" and "MyAppNameTests" -J '^ExampleApp$' Will match only "ExampleApp" not "ExampleAppTests" | Optional diff --git a/dist/index.js b/dist/index.js index 7a64c971a..a158a78be 100644 --- a/dist/index.js +++ b/dist/index.js @@ -54136,7 +54136,7 @@ var buildExec = function () { var search_dir = core.getInput("directory"); var token = core.getInput("token"); var verbose = isTrue(core.getInput("verbose")); - var working_dir = core.getInput("working_directory"); + var working_dir = core.getInput("working-directory"); var write_path = core.getInput("path_to_write_report"); var xcode_derived_data = core.getInput("xcode_derived_data"); var xcode_package = core.getInput("xcode_package"); diff --git a/src/buildExec.test.ts b/src/buildExec.test.ts index eff7b176e..2c584b5e5 100644 --- a/src/buildExec.test.ts +++ b/src/buildExec.test.ts @@ -43,7 +43,7 @@ test('all arguments', () => { "directory": "coverage/", "token": "d3859757-ab80-4664-924d-aef22fa7557b", "verbose": "t", - "working_directory": "src", + "working-directory": "src", "path_to_write_report": "codecov/", "xcode_derived_data": "~/Library/Developer/Xcode/DerivedData", "xcode_package": "MyApp" diff --git a/src/buildExec.ts b/src/buildExec.ts index 537f2a600..d4d2e2434 100644 --- a/src/buildExec.ts +++ b/src/buildExec.ts @@ -38,7 +38,7 @@ let buildExec = () => { const search_dir = core.getInput("directory"); const token = core.getInput("token"); const verbose = isTrue(core.getInput("verbose")); - const working_dir = core.getInput("working_directory"); + const working_dir = core.getInput("working-directory"); const write_path = core.getInput("path_to_write_report"); const xcode_derived_data = core.getInput("xcode_derived_data"); const xcode_package = core.getInput("xcode_package");