Skip to content

Commit

Permalink
Add: working_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
edelciomolina committed Dec 5, 2023
1 parent eb44c04 commit a0d5a5c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ branding:
icon: package
color: blue
inputs:
working_directory:
description: "Working Directory (Default: ./)"
default: "./"
required: false

bundle_config_folder:
description: "Path for bundleconfig (Default: ./test)"
default: "./test"
Expand All @@ -29,8 +34,12 @@ runs:
steps:
- name: NPM Install Dependencies
shell: bash
run: npm install
working-directory: ${{ inputs.working_directory }}
run: |
echo "You are here: ${{ inputs.working_directory }}"
npm install;
- name: Run Bundler Minifier Action
shell: bash
working-directory: ${{ inputs.working_directory }}
run: node index.js;

0 comments on commit a0d5a5c

Please sign in to comment.