Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza committed Oct 12, 2023
1 parent ef36650 commit c521a9f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/swift-reveal-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ jobs:
run: |
echo "${{ steps.collected-swift-reveal-before-changes.outputs.content }}" >> old.txt
echo "${{ steps.collected-swift-reveal-after-changes.outputs.content }}" >> new.txt
git diff --no-index new.txt old.txt
# delimiter="$(openssl rand -hex 8)"
# FILE_CONTENT=$(git diff --no-index new.txt old.txt)
# echo "content<<${delimiter}" >> "${GITHUB_OUTPUT}"
# echo "$FILE_CONTENT" >> "${GITHUB_OUTPUT}"
# echo "${delimiter}" >> "${GITHUB_OUTPUT}"
delimiter="$(openssl rand -hex 8)"
FILE_CONTENT=$(git diff --no-index new.txt old.txt || true)
echo "content<<${delimiter}" >> "${GITHUB_OUTPUT}"
echo "$FILE_CONTENT" >> "${GITHUB_OUTPUT}"
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
if: success()

- name: maintain-comment
Expand Down

0 comments on commit c521a9f

Please sign in to comment.