Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-568 committed Feb 11, 2024
1 parent 7da3bdd commit aaeb129
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,14 @@ jobs:
run: |
# 公共
find . -maxdepth 1 -type d -name "568flat*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/ -maxdepth 1 -type f -name "*.png") {}/'
# find ./assets/Components/ -maxdepth 1 -type f -name "*.png" | xargs -I {} sh -c 'cp -v {} $(find . -type d -name "568flat*")/'
# find ./assets/Components/ -maxdepth 1 -type f -name "*.png" -exec bash -c 'cp -v "{}" "$(find . -type d -name "568flat*")/"' \;
# find . -type d -name "568flat*" -exec bash -c 'cp -v -u "./assets/Components/box_c.png" "{}/"' \;
# find ./assets/Components/ -maxdepth 1 -type f -name "*.png" -print0 | xargs -0 -I{} bash -c 'cp -v -u {} $(find . -type d -name "568flat*")/'
# 分辨率
find . -type d -name "568flat*" ! -name "568flat_x*" -exec bash -c 'cp -v -u "./assets/Components/x1/PJ568-62.png" "{}/PJ568-62.png"' \;
find . -type d -name "568flat_x2*" -exec bash -c 'cp -v -u "./assets/Components/x1/PJ568-126.png" "{}/PJ568-126.png"' \;
find . -maxdepth 1 -type d -name "568flat*" ! -name "568flat_x*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x1/ -maxdepth 1 -type f -name "*.png") {}/'
find . -maxdepth 1 -type d -name "568flat_x2*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x2/ -maxdepth 1 -type f -name "*.png") {}/'
# 语言和分辨率
find . -type d -name "568flat*-en" ! -name "568flat_x*" -exec bash -c 'cp -v -u "./assets/Components/x1/en/*.png" "{}/"' \;
find . -type d -name "568flat*" ! -name "568flat_x*" ! -name "*-en" -exec bash -c 'cp -v -u "./assets/Components/x1/zh/*.png" "{}/"' \;
find . -type d -name "568flat*-en" -name "568flat_x2*" -exec bash -c 'cp -v -u "./assets/Components/x2/en/*.png" "{}/"' \;
find . -type d ! -name "568flat*-en" -name "568flat_x2*" -exec bash -c 'cp -v -u "./assets/Components/x2/zh/*.png" "{}/"' \;
find . -maxdepth 1 -type d -name "568flat*" ! -name "568flat_x*" ! -name "*-en" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x1/zh/ -maxdepth 1 -type f -name "*.png") {}/'
find . -maxdepth 1 -type d -name "568flat*-en" ! -name "568flat_x*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x1/en/ -maxdepth 1 -type f -name "*.png") {}/'
find . -maxdepth 1 -type d ! -name "*-en" -name "568flat_x2*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x2/zh/ -maxdepth 1 -type f -name "*.png") {}/'
find . -maxdepth 1 -type d -name "*-en" -name "568flat_x2*" | xargs -I {} sh -c 'cp -v $(find ./assets/Components/x2/en/ -maxdepth 1 -type f -name "*.png") {}/'
- name: Pack
run: |
Expand Down

0 comments on commit aaeb129

Please sign in to comment.