mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-24 15:21:04 -05:00
Use GITHUB_ACTION_PATH env
Use `GITHUB_ACTION_PATH` environment variable instead of `${{ ithub.action_path }}` in order to allow execution inside a docker container. As metioned here: https://github.com/actions/runner/issues/716#issuecomment-795238933
This commit is contained in:
parent
b74a2626a9
commit
06c7388780
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ runs:
|
|||
- id: yamllint
|
||||
run: |
|
||||
# export LOGFILE=$(mktemp yamllint-XXXXXX)
|
||||
${{ github.action_path }}/entrypoint.sh
|
||||
$GITHUB_ACTION_PATH/entrypoint.sh
|
||||
shell: bash
|
||||
env:
|
||||
INPUT_FILE_OR_DIR: ${{ inputs.file_or_dir }}
|
||||
|
|
Loading…
Reference in a new issue