mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:05:52 +08:00
Update command to retrieve deleted files
CURA-10903
This commit is contained in:
parent
2f8829c2d1
commit
8b135b5562
@ -38,9 +38,9 @@ jobs:
|
|||||||
run: mkdir printer-linter-result
|
run: mkdir printer-linter-result
|
||||||
|
|
||||||
- name: Check Deleted Files(s)
|
- name: Check Deleted Files(s)
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
deletedFiles="$(git log -m -1 --name-status --pretty="format:" | awk '/^D/ {print $2}' | tr '\n' ' ')"
|
- name: Get deleted files
|
||||||
|
git diff --name-only --diff-filter=D origin/main
|
||||||
python printer-linter/src/terminal.py --deleted --report printer-linter-result/fixes.yml $(echo "$deletedFiles")
|
python printer-linter/src/terminal.py --deleted --report printer-linter-result/fixes.yml $(echo "$deletedFiles")
|
||||||
|
|
||||||
- name: Diagnose file(s)
|
- name: Diagnose file(s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user