https://github.com/aherrmann/bazel-action-stdout-stderr
https://github.com/aherrmann/bazel-action-stdout-stderr
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aherrmann/bazel-action-stdout-stderr
- Owner: aherrmann
- Created: 2020-12-23T08:48:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T08:52:37.000Z (over 5 years ago)
- Last Synced: 2025-03-02T22:18:31.528Z (over 1 year ago)
- Language: Starlark
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Expected output on clean build - includes messages to stdout/stderr:
```
$ bazel build //:custom
INFO: Invocation ID: f391dbf2-3e09-4124-b92b-d86ff30cec1f
INFO: Analyzed target //:custom (4 packages loaded, 6 targets configured).
INFO: Found 1 target...
INFO: From Action custom.run:
run on stderr
run on stdout
INFO: From Action custom.run_shell:
run_shell on stderr
run_shell on stdout
Target //:custom up-to-date:
bazel-bin/custom.run
bazel-bin/custom.run_shell
INFO: Elapsed time: 1.297s, Critical Path: 0.14s
INFO: 3 processes: 2 remote cache hit, 1 internal.
INFO: Build completed successfully, 3 total actions
```
Expected output on second build - no more messages to stdout/stderr:
```
$ bazel build //:custom
INFO: Invocation ID: 4269d4a2-b857-4f71-a101-018dc489bc13
INFO: Analyzed target //:custom (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //:custom up-to-date:
bazel-bin/custom.run
bazel-bin/custom.run_shell
INFO: Elapsed time: 0.113s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
```