Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bottles-failure-and-output: group failure and output steps #289

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions output-failures-and-bottle-result/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Output Failures Summary and Brew Bottle Result

An action that groups `cat bottles/steps_output.txt` and `cat bottles/bottle_output.txt` together to ease the process of reading logs.

## Usage

```yaml
- name: Output failures summary and brew bottle result
if: always()
uses: Homebrew/actions/output-failures-and-bottle-result@master
```
17 changes: 17 additions & 0 deletions output-failures-and-bottle-result/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Output failures summary and brew bottle result'
description: 'Output the logs of failures summary and brew bottle result'
SMillerDev marked this conversation as resolved.
Show resolved Hide resolved

runs:
using: "composite"
SMillerDev marked this conversation as resolved.
Show resolved Hide resolved
steps:
- run: |
touch bottles/steps_output.txt
cat bottles/steps_output.txt
rm bottles/steps_output.txt
shell: bash

- run: |
cat bottles/bottle_output.txt
rm bottles/bottle_output.txt
shell: bash