Skip to content

Commit

Permalink
Support containerised jobs on self-hosted runners
Browse files Browse the repository at this point in the history
There is a runner bug where the github.action_path and
GITHUB_ACTION_PATH variables are not equal when running in a container
on a self-hosted runner, with the former being set incorrectly. See
actions/runner#716 for details.

Fixes #1.
  • Loading branch information
fionn committed Aug 16, 2024
1 parent 57a72a4 commit 8752156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
steps:

- name: Lint newline
run: ${{ github.action_path }}/git-no-newlines
run: $GITHUB_ACTION_PATH/git-no-newlines
shell: bash
env:
EXCLUDE_PATTERN: ${{ inputs.exclusion_pattern }}
Expand Down

0 comments on commit 8752156

Please sign in to comment.