Skip to content

Commit

Permalink
build: Use github.action_path
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed May 27, 2023
1 parent 3da827c commit 9a9803c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
steps:
- shell: bash
run: |
composer global require --dev siketyan/loxcan:^0.7.2
pushd '${{ github.action_path }}' && composer i -n && popd
if [ "${{ inputs.report_enabled }}" = "true" ]; then
export LOXCAN_REPORTER_GITHUB="1"
Expand All @@ -48,4 +48,4 @@ runs:
BRANCH_BASE="origin/${{ inputs.base }}"
BRANCH_HEAD="${{ github.sha }}"
~/.composer/vendor/bin/loxcan "${BRANCH_BASE}" "${BRANCH_HEAD}"
${{ github.action_path }}/bin/loxcan "${BRANCH_BASE}" "${BRANCH_HEAD}"

0 comments on commit 9a9803c

Please sign in to comment.