Update diff-sha.sh (#379)
* Update diff-sha.sh * Update action.yml * Update test.yml * Update test.yml * Update diff-sha.sh * Update action.yml * Update action.yml
This commit is contained in:
parent
6113e26177
commit
92456281bc
@ -133,6 +133,7 @@ runs:
|
|||||||
id: base-sha
|
id: base-sha
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: |
|
- run: |
|
||||||
|
# "Calculating the previous and current SHA..."
|
||||||
bash $GITHUB_ACTION_PATH/diff-sha.sh
|
bash $GITHUB_ACTION_PATH/diff-sha.sh
|
||||||
id: changed-files-diff-sha
|
id: changed-files-diff-sha
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -30,7 +30,7 @@ else
|
|||||||
echo "Found 'temp_changed_files' remote"
|
echo "Found 'temp_changed_files' remote"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Getting HEAD info..."
|
echo "Getting HEAD SHA..."
|
||||||
|
|
||||||
if [[ -z $INPUT_SHA ]]; then
|
if [[ -z $INPUT_SHA ]]; then
|
||||||
CURRENT_SHA=$(git rev-list --no-merges -n 1 HEAD 2>&1) && exit_status=$? || exit_status=$?
|
CURRENT_SHA=$(git rev-list --no-merges -n 1 HEAD 2>&1) && exit_status=$? || exit_status=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user