mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-20 21:01:53 +00:00
updated action.yml
This commit is contained in:
parent
8a141f1b25
commit
ee1ab68105
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ runs:
|
|||
- run: |
|
||||
# "Set base sha..."
|
||||
if [[ -n "${{ inputs.since }}" ]]; then
|
||||
BASE_SHA=$(git log --format="%H" --date=local --since="${{ inputs.since }}" --reverse | head -1)
|
||||
BASE_SHA=$(git log --format="%H" --date=local --since="${{ inputs.since }}" --reverse | head -n 1)
|
||||
echo "::set-output name=base_sha::$BASE_SHA"
|
||||
elif [[ -n "${{ inputs.base_sha }}" ]]; then
|
||||
echo "::set-output name=base_sha::${{ inputs.base_sha }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue