Update action.yml
This commit is contained in:
parent
71afc9f3b8
commit
09a879748c
@ -97,7 +97,7 @@ runs:
|
|||||||
- run: |
|
- run: |
|
||||||
if [[ -n "${{ inputs.base_sha }}" ]]; then
|
if [[ -n "${{ inputs.base_sha }}" ]]; then
|
||||||
echo "::set-output name=base_sha::${{ inputs.base_sha }}"
|
echo "::set-output name=base_sha::${{ inputs.base_sha }}"
|
||||||
elif [[ "${{ github.event_name }}" == "push" && -z "${{ inputs.base_sha }}" && "${{ inputs.since_last_remote_commit }}" == "true" ]]; then
|
elif [[ "${{ inputs.since_last_remote_commit }}" == "true" && -z "${{ inputs.base_sha }}" ]]; then
|
||||||
echo "::set-output name=base_sha::${{ github.event.before }}"
|
echo "::set-output name=base_sha::${{ github.event.before }}"
|
||||||
fi
|
fi
|
||||||
id: base-sha
|
id: base-sha
|
||||||
|
Loading…
x
Reference in New Issue
Block a user