Skip to content

Commit

Permalink
Add trunk path
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-trunk-io committed Feb 27, 2024
1 parent c368dc0 commit 21e7faf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ name: Trunk Check
author: trunk.io
description: The official trunk.io GitHub action to install trunk

inputs:
trunk-path:
description:
Path to Trunk Launcher. If not provided, we'll look for it the repo root, `.trunk/bin` and
`tools/`. If it can't be found anywhere and is not provided explicitly, we'll download it on
demand.
required: false

branding:
icon: check
color: green
Expand All @@ -12,3 +20,5 @@ runs:
- name: Locate trunk
shell: bash
run: ${GITHUB_ACTION_PATH}/locate_trunk.sh
env:
INPUT_TRUNK_PATH: ${{ inputs.trunk-path }}

0 comments on commit 21e7faf

Please sign in to comment.