mirror of
https://github.com/tj-actions/changed-files
synced 2025-03-05 11:06:22 +00:00
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
2 changed files with 2 additions and 1 deletions
|
@ -133,6 +133,7 @@ runs:
|
|||
id: base-sha
|
||||
shell: bash
|
||||
- run: |
|
||||
# "Calculating the previous and current SHA..."
|
||||
bash $GITHUB_ACTION_PATH/diff-sha.sh
|
||||
id: changed-files-diff-sha
|
||||
shell: bash
|
||||
|
|
|
@ -30,7 +30,7 @@ else
|
|||
echo "Found 'temp_changed_files' remote"
|
||||
fi
|
||||
|
||||
echo "Getting HEAD info..."
|
||||
echo "Getting HEAD SHA..."
|
||||
|
||||
if [[ -z $INPUT_SHA ]]; then
|
||||
CURRENT_SHA=$(git rev-list --no-merges -n 1 HEAD 2>&1) && exit_status=$? || exit_status=$?
|
||||
|
|
Loading…
Add table
Reference in a new issue