Skip to content

Commit 264fd87

Browse files
authored
fix: make sure that github.action_path is always correct (#629)
Refs #627
1 parent 0f075ea commit 264fd87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ inputs:
1818
runs:
1919
using: composite
2020
steps:
21-
- run: cd ${{ github.action_path }} && npm install
21+
- run: cd ${GITHUB_ACTION_PATH} && npm install
2222
shell: bash
23-
- run: cd ${{ github.action_path }} && SWAGGER_EDITOR_URL=${{ inputs.swagger-editor-url }} DEFINITION_FILE=${{ inputs.definition-file }} IGNORE_ERROR=${{ inputs.ignore-error }} DEFAULT_TIMEOUT=${{ inputs.default-timeout }} node src/index.js
23+
- run: cd ${GITHUB_ACTION_PATH} && SWAGGER_EDITOR_URL=${{ inputs.swagger-editor-url }} DEFINITION_FILE=${{ inputs.definition-file }} IGNORE_ERROR=${{ inputs.ignore-error }} DEFAULT_TIMEOUT=${{ inputs.default-timeout }} node src/index.js
2424
shell: bash
2525
branding:
2626
icon: 'file-text'

0 commit comments

Comments
 (0)