Skip to content

Commit

Permalink
feat: add optional parameter to change directory before run stk comma…
Browse files Browse the repository at this point in the history
…nd (#5)

Co-authored-by: Alexandre Fidélis Vieira Bitencourt <alexandre.bitencourt@zup.com.br>
  • Loading branch information
alexandrefvb and alexandrefvbzup authored Oct 16, 2024
1 parent 48f52a3 commit 94dba8c
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 @@ -18,6 +18,10 @@ inputs:
description: Command STK
required: false
default: ''
working_directory:
description: Working directory
required: false
default: '.'

runs:
using: "composite"
Expand Down Expand Up @@ -72,6 +76,7 @@ runs:
- name: Run Command
shell: bash
run: |
cd ${{ inputs.working_directory }}
stk ${{ inputs.command_stk }}
- name: Show Error Log
Expand Down

0 comments on commit 94dba8c

Please sign in to comment.