Skip to content

About

Github Action to retrieve the last n lines of a file or string.

Topics

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

4 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tail Action

Github Action to retrieve the last n lines of a file or string.

Inputs

path

The filepath to retrieve lines from. Must provide a path or a string..

string

The string to retrieve lines from. Must provide a path or a string.

line-count

The number of lines to retrieve.

Outputs

content

The retrieved lines.

Example usage

- uses: scribd/tail-action@v1
  id: tail
  with:
    path: xcode-build.log

- run: echo "${{ steps.tail.outputs.content }}"

More examples here.

About

Github Action to retrieve the last n lines of a file or string.

Topics

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors