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 all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions failures-summary-and-bottle-result/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Failures Summary and 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: Failures Summary and Bottle Result
if: always()
uses: Homebrew/actions/failures-summary-and-bottle-result@master
```
17 changes: 17 additions & 0 deletions failures-summary-and-bottle-result/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Failures summary and bottle result
description: Output the logs of the bottle generation and a summary of all step failures

runs:
using: composite
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