From ba292ad7aa6b1c85633a436ae124590c6e6f3501 Mon Sep 17 00:00:00 2001 From: dutchie031 <54616262+dutchie031@users.noreply.github.com> Date: Tue, 7 Apr 2026 23:05:04 +0200 Subject: [PATCH] updated working directory --- github-action/action.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/github-action/action.yml b/github-action/action.yml index b1916ba..15c2543 100644 --- a/github-action/action.yml +++ b/github-action/action.yml @@ -13,12 +13,17 @@ inputs: runs: using: 'composite' steps: - - run: | - cd ${{ github.action_path }} + - name: Build action + run: | npm ci npm run build - node dist/index.js shell: bash + working-directory: ${{ github.action_path }} + + - name: Run compiler + run: node ${{ github.action_path }}/dist/index.js + shell: bash + working-directory: ${{ github.workspace }} env: INPUT_SOURCE-ROOT: ${{ inputs.source-root }} INPUT_OUTPUT-FILE: ${{ inputs.output-file }}