From 24ab8f0c998dbd521cbc8ec3250ded68467ac647 Mon Sep 17 00:00:00 2001 From: Koen Baas Date: Wed, 23 Jul 2025 16:27:49 +0200 Subject: [PATCH] Add directory --- .gitignore | 1 + action.yml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .gitignore 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 }}