Print the diff

This commit is contained in:
cmdr2 2023-04-29 07:40:24 +05:30
parent 262a1464c3
commit 20d6e17d4d

View File

@ -14,12 +14,7 @@ jobs:
with: with:
# prettier CLI arguments. # prettier CLI arguments.
args: --print-width 120 --tab-width 4 --no-semi --arrow-parens always --trailing-comma es5 --write "./**/*.js" args: --print-width 120 --tab-width 4 --no-semi --arrow-parens always --trailing-comma es5 --write "./**/*.js"
- uses: GrantBirki/git-diff-action@vX.X.X - uses: technote-space/get-diff-action@v6
id: git-diff-action
with: with:
json_diff_file_output: diff.json PATTERNS: |
raw_diff_file_output: diff.txt +(ui)/**/*.js
- name: print raw diff
env:
DIFF: ${{ steps.git-diff-action.outputs.raw-diff-path }}
run: cat $DIFF