Github Action to retrieve the last n lines of a file or string.
The filepath to retrieve lines from. Must provide a path or a string..
The string to retrieve lines from. Must provide a path or a string.
The number of lines to retrieve.
The retrieved lines.
- uses: scribd/tail-action@v1
id: tail
with:
path: xcode-build.log
- run: echo "${{ steps.tail.outputs.content }}"More examples here.