Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.09 KB

File metadata and controls

56 lines (35 loc) · 1.09 KB

setup-generic-tool action

The isometry/setup-generic-tool action is designed to make the use of generic third-party tooling available via GitHub Releases as simple, streamlined and performant as possible within your workflows.

Features

  • Fully exploits GitHub Runners' Tool Cache mechanism
  • Automatic version resolution

Inputs

name input

Required GitHub repository of the desired tool (example: owner/repo)

tool input

Optional Override tool name, if it doesn't match the repo name

asset input

Optional Override asset name, if it doesn't match the tool name

version input

Optional Version of tool to install (default: latest; example: v1.2.3)

Outputs

version output

The version of tool actually installed.

Example usage

name: example

on:
  push:
    branches: [main]

jobs:
  example:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v4

      - uses: isometry/setup-generic-tool@v1
        with:
          name: chainguard-dev/apko

      - run: |
          apko version