Skip to content

Commit 94dba8c

Browse files
feat: add optional parameter to change directory before run stk command (#5)
Co-authored-by: Alexandre Fidélis Vieira Bitencourt <alexandre.bitencourt@zup.com.br>
1 parent 48f52a3 commit 94dba8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ inputs:
1818
description: Command STK
1919
required: false
2020
default: ''
21+
working_directory:
22+
description: Working directory
23+
required: false
24+
default: '.'
2125

2226
runs:
2327
using: "composite"
@@ -72,6 +76,7 @@ runs:
7276
- name: Run Command
7377
shell: bash
7478
run: |
79+
cd ${{ inputs.working_directory }}
7580
stk ${{ inputs.command_stk }}
7681
7782
- name: Show Error Log

0 commit comments

Comments
 (0)