Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Allow specifying working directory (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-trunk-io authored Jul 10, 2023
1 parent e85bbf1 commit d3c08fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ inputs:
description: Which version of the trunk tool to run
required: false
default: 1.11.2-beta.27
working-directory:
description: Working directory of breakpoint
required: false
default: ./
runs:
using: composite
steps:
Expand All @@ -46,6 +50,7 @@ runs:
${GITHUB_ACTION_PATH}/trunk breakpoint --debug=${{ inputs.debug }} --id="${{ inputs.breakpoint-id }}" -- "${{ inputs.run }}"
fi
shell: ${{ inputs.shell }}
working-directory: ${{ inputs.working-directory }}
env:
TRUNK_CLI_VERSION: ${{ inputs.trunk-version }}
TRUNK_GITHUB_CONTEXT: ${{ toJSON(github) }}
Expand Down

0 comments on commit d3c08fa

Please sign in to comment.