Skip to content

Commit

Permalink
Use $GITHUB_ACTION_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Jul 23, 2022
1 parent ec2ce25 commit 12a68f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
with:
path: tap-summary
- run: |
set -o errexit -o noclobber -o nounset -o pipefail
[[ -z "$(shopt globstar 2> /dev/null)" ]] && echo 'Shell does not support globstar' || shopt -s globstar
: "${SUMMARY_FILE:=$GITHUB_STEP_SUMMARY}"
echo ${{ inputs.path }} '->' "$SUMMARY_FILE"
gawk --file "$GITHUB_WORKSPACE/tap-summary/summary.gawk" --sandbox -- ${{ inputs.path }} >> "$SUMMARY_FILE"
gawk --file "$GITHUB_ACTION_PATH/summary.gawk" --sandbox -- ${{ inputs.path }} >> "$SUMMARY_FILE"
echo "::set-output name=summary-file::$SUMMARY_FILE"
shell: bash
env:
Expand Down

0 comments on commit 12a68f1

Please sign in to comment.