Skip to content

Commit 07dd600

Browse files
committed
updated working directory
1 parent 1b970bd commit 07dd600

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

github-action/action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ inputs:
1313
runs:
1414
using: 'composite'
1515
steps:
16-
- run: |
17-
cd ${{ github.action_path }}
16+
- name: Build action
17+
run: |
1818
npm ci
1919
npm run build
20-
node dist/index.js
2120
shell: bash
21+
working-directory: ${{ github.action_path }}
22+
23+
- name: Run compiler
24+
run: node ${{ github.action_path }}/dist/index.js
25+
shell: bash
26+
working-directory: ${{ github.workspace }}
2227
env:
2328
INPUT_SOURCE-ROOT: ${{ inputs.source-root }}
2429
INPUT_OUTPUT-FILE: ${{ inputs.output-file }}

0 commit comments

Comments
 (0)