3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 13:47:20 +00:00

Update action.yml

This commit is contained in:
Tonye Jack 2021-05-01 08:57:11 -04:00 committed by GitHub
parent 41c5eb7faa
commit 932c8a5c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,18 +113,16 @@ runs:
ALL_MODIFIED_FILES+=$(git diff --diff-filter='ACM' --name-only "$HEAD_SHA" | grep -E "(${path})" || true) ALL_MODIFIED_FILES+=$(git diff --diff-filter='ACM' --name-only "$HEAD_SHA" | grep -E "(${path})" || true)
done done
export IFS=${{ inputs.separator }} ADDED=$(IFS="${{ inputs.separator }}"; echo "${ADDED[*]}")
COPIED=$(IFS="${{ inputs.separator }}"; echo "${COPIED[*]}")
ADDED=$(echo "${ADDED[*]}") DELETED=$(IFS="${{ inputs.separator }}"; echo "${DELETED[*]}")
COPIED=$(echo "${COPIED[*]}") MODIFIED=$(IFS="${{ inputs.separator }}"; echo "${MODIFIED[*]}")
DELETED=$(echo "${DELETED[*]}") RENAMED=$(IFS="${{ inputs.separator }}"; echo "${RENAMED[*]}")
MODIFIED=$(echo "${MODIFIED[*]}") CHANGED=$(IFS="${{ inputs.separator }}"; echo "${CHANGED[*]}")
RENAMED=$(echo "${RENAMED[*]}") UNMERGED=$(IFS="${{ inputs.separator }}"; echo "${UNMERGED[*]}")
CHANGED=$(echo "${CHANGED[*]}") UNKNOWN=$(IFS="${{ inputs.separator }}"; echo "${UNKNOWN[*]}")
UNMERGED=$(echo "${UNMERGED[*]}") ALL_CHANGED=$(IFS="${{ inputs.separator }}"; echo "${ALL_CHANGED[*]}")
UNKNOWN=$(echo "${UNKNOWN[*]}") ALL_MODIFIED_FILES=$(IFS="${{ inputs.separator }}"; echo "${ALL_MODIFIED_FILES[*]}")
ALL_CHANGED=$(echo "${ALL_CHANGED[*]}")
ALL_MODIFIED_FILES=$(echo "${ALL_MODIFIED_FILES[*]}")
echo "::set-output name=added_files::$ADDED" echo "::set-output name=added_files::$ADDED"
echo "::set-output name=copied_files::$COPIED" echo "::set-output name=copied_files::$COPIED"