forked from extern/easydiffusion
Print the diff
This commit is contained in:
parent
262a1464c3
commit
20d6e17d4d
11
.github/workflows/prettier.yml
vendored
11
.github/workflows/prettier.yml
vendored
@ -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
|
|
Loading…
Reference in New Issue
Block a user