updated working directory

This commit is contained in:
dutchie031
2026-04-07 23:05:04 +02:00
parent afafd6a48e
commit ba292ad7aa
+8 -3
View File
@@ -13,12 +13,17 @@ inputs:
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
- run: | - name: Build action
cd ${{ github.action_path }} run: |
npm ci npm ci
npm run build npm run build
node dist/index.js
shell: bash 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: env:
INPUT_SOURCE-ROOT: ${{ inputs.source-root }} INPUT_SOURCE-ROOT: ${{ inputs.source-root }}
INPUT_OUTPUT-FILE: ${{ inputs.output-file }} INPUT_OUTPUT-FILE: ${{ inputs.output-file }}