setup-jfrog-cli icon indicating copy to clipboard operation
setup-jfrog-cli copied to clipboard

Add Job Summaries feature flag

Open EyalDelarea opened this issue 1 year ago • 0 comments

  • [x] All tests passed. If this feature is not already covered by the tests, I added new tests.
  • [x] I used npm run format for formatting the code before submitting the pull request.

Adding feature flag for Job Summaries.

In order to disable the creation of job summaries,job-summary-enabled attribute can be provided the the setup CLI. default value is true.

example:

- uses: jfrog/setup-jfrog-cli@v4
  with:
    job-summary-enabled: false

Under the hood -

In order to avoid changes in the CLI itself, when the path of the output dir is not defined the CLI will ignore the recording of commands. Therefore, when the feature flag is disabled it will just make sure to unset the output dir path.

EyalDelarea avatar Jul 03 '24 09:07 EyalDelarea