Skip to content

Commit

Permalink
use input for directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jjs98 committed May 4, 2023
1 parent b920506 commit 48e0470
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: 'Pnpm install'
description: 'Install pnpm with cache'
inputs:
directory:
description: 'Working directory'
required: false
default: '.'
runs:
using: "composite"
defaults:
run:
working-directory: ${{ inputs.directory }}
steps:
- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down

0 comments on commit 48e0470

Please sign in to comment.