Skip to content

kishaningithub/setup-tf-summarize

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup tf-summarize

ci

This action installs tf-summarize in GitHub action runner.

Usage

This action can be used to install tf-summarize on all platforms (Linux, Mac and Windows). When running on windows we recommend setting the shell to bash.

The default configuration installs the latest version of tf-summarize

steps:
- uses: kishaningithub/setup-tf-summarize@v2

A specific version of tf-summarize can also be installed

steps:
- uses: kishaningithub/setup-tf-summarize@v2
  with:
    tf-summarize-version: v0.3.1

If for any reason you need to use a separate GitHub token that is also supported, by default it uses GITHUB_TOKEN.

steps:
- uses: kishaningithub/setup-tf-summarize@v2
  with:
    github-token: ${{ secrets.MY_PAT }}

A general purpose full example

name: Run tf-summarize

on:
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
   
    - uses: kishaningithub/setup-tf-summarize@v2

    - name: Print tf-summarize version and help
      run: |
        tf-summarize -v
        tf-summarize -h

Contributing

Contributions are most welcome! See CONTRIBUTING.md