adding note about circleci example and puts

This commit is contained in:
Josh Johanning
2023-02-17 12:12:38 -06:00
committed by GitHub
parent 77c9c1ace1
commit b3f5687f96
+6
View File
@@ -125,6 +125,12 @@ transform "codecov_codecov_upload" do |item|
end end
``` ```
In this case, `puts` will only print `{}` to the console since there are no properties of the CircleCI step. In the source configuration, it simply appears as:
```yml
- codecov/upload
```
## Custom transformers for environment variables ## Custom transformers for environment variables
You can use custom transformers to edit the values of environment variables in converted workflows. In this example, you will update the `COVERAGE_DIR` environment variable to be `$RUNNER_TEMP/cov` instead of `./tmp/cov`. You can use custom transformers to edit the values of environment variables in converted workflows. In this example, you will update the `COVERAGE_DIR` environment variable to be `$RUNNER_TEMP/cov` instead of `./tmp/cov`.