diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/action.yml b/action.yml index e7868f4..20e757d 100644 --- a/action.yml +++ b/action.yml @@ -2,6 +2,10 @@ name: Setup composer description: Install and cache composer dependencies author: Jamie Schouten inputs: + directory: + description: 'directory to run composer in' + required: false + default: '.' args: description: 'install arguments' required: false @@ -21,6 +25,9 @@ runs: - name: Checkout uses: actions/checkout@v4 + - name: Set working directory + run: cd ${{ inputs.directory }} + - name: Auth registry run: composer config --global bearer.packistry.qlic.nl ${{ inputs.packistry-token }}