From 94dba8c9638a780f257aa49b70da2f8004e6fb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Fid=C3=A9lis=20Vieira=20Bitencourt?= Date: Wed, 16 Oct 2024 20:01:48 -0300 Subject: [PATCH] feat: add optional parameter to change directory before run stk command (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alexandre Fidélis Vieira Bitencourt --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 05fbb87..d635eca 100644 --- a/action.yml +++ b/action.yml @@ -18,6 +18,10 @@ inputs: description: Command STK required: false default: '' + working_directory: + description: Working directory + required: false + default: '.' runs: using: "composite" @@ -72,6 +76,7 @@ runs: - name: Run Command shell: bash run: | + cd ${{ inputs.working_directory }} stk ${{ inputs.command_stk }} - name: Show Error Log