diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index b48e504..c299932 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -18,8 +18,8 @@ jobs: repository: "atelier-anchor/smiley-sans" latest: true fileName: "*.zip" - out-file-path: "Build" - extract: true + # out-file-path: "Build" + # extract: true - name: Check workspace run: | @@ -27,14 +27,18 @@ jobs: - name: Make font run: | - mkdir $GITHUB_WORKSPACE/Build/x1 - mkdir $GITHUB_WORKSPACE/Build/x2 - grub-mkfont -o $GITHUB_WORKSPACE/Build/x1/SmileySans-Oblique_32.pf2 -s 32 -v $GITHUB_WORKSPACE/Build/SmileySans-Oblique.ttf - grub-mkfont -o $GITHUB_WORKSPACE/Build/x1/SmileySans-Oblique_48.pf2 -s 48 -v $GITHUB_WORKSPACE/Build/SmileySans-Oblique.ttf - grub-mkfont -o $GITHUB_WORKSPACE/Build/x2/SmileySans-Oblique_64.pf2 -s 64 -v $GITHUB_WORKSPACE/Build/SmileySans-Oblique.ttf - grub-mkfont -o $GITHUB_WORKSPACE/Build/x2/SmileySans-Oblique_96.pf2 -s 96 -v $GITHUB_WORKSPACE/Build/SmileySans-Oblique.ttf - find . -type d -name "568flat*" ! -name "568flat_x*" -exec bash -c 'cp -v -u -r "$GITHUB_WORKSPACE/Build/x1/*" "{}/"' \; - find . -type d -name "568flat_x2*" -exec bash -c 'cp -v -u -r "$GITHUB_WORKSPACE/Build/x2/*" "{}/"' \; + mkdir ./Build/ + mkdir ./Build/x1/ + mkdir ./Build/x2/ + unzip -o ${{ fromJson(steps.get-release.outputs.downloaded_files)[0] }} -d ./Build + grub-mkfont -o ./Build/x1/SmileySans-Oblique_32.pf2 -s 32 -v ./Build/SmileySans-Oblique.ttf + grub-mkfont -o ./Build/x1/SmileySans-Oblique_48.pf2 -s 48 -v ./Build/SmileySans-Oblique.ttf + grub-mkfont -o ./Build/x2/SmileySans-Oblique_64.pf2 -s 64 -v ./Build/SmileySans-Oblique.ttf + grub-mkfont -o ./Build/x2/SmileySans-Oblique_96.pf2 -s 96 -v ./Build/SmileySans-Oblique.ttf + find ./Build/x1/ -type f -exec sh -c 'dir=$(dirname "$1"); if [[ $(basename "$dir") == 568flat && $(basename "$1") != 568flat_x* ]]; then cp "$1" ./"$dir"; fi' sh {} \; + find ./Build/x2/ -type f -exec sh -c 'dir=$(dirname "$1"); if [[ $(basename "$dir") == 568flat_x2 ]]; then cp "$1" ./"$dir"; fi' sh {} \; + # find . -type d -name "568flat*" ! -name "568flat_x*" -exec bash -c 'cp -v -u -r "./Build/x1/*" "{}/"' \; + # find . -type d -name "568flat_x2*" -exec bash -c 'cp -v -u -r "./Build/x2/*" "{}/"' \; - name: Pack run: | @@ -42,5 +46,7 @@ jobs: find . -type d -name "568flat*" -exec bash -c 'zip -r "./Release/$(basename {}).zip" "{}"' \; - name: test-Check - run: | - ls Release \ No newline at end of file + uses: actions/upload-artifact@v4 + with: + name: test-Files + path: ./Release/* \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..080cef6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/Build/ +/Release/ \ No newline at end of file diff --git a/568flat-en/SmileySans-Oblique_32.pf2 b/568flat-en/SmileySans-Oblique_32.pf2 deleted file mode 100644 index b4eed84..0000000 Binary files a/568flat-en/SmileySans-Oblique_32.pf2 and /dev/null differ diff --git a/568flat-en/SmileySans-Oblique_48.pf2 b/568flat-en/SmileySans-Oblique_48.pf2 deleted file mode 100644 index 322738e..0000000 Binary files a/568flat-en/SmileySans-Oblique_48.pf2 and /dev/null differ diff --git a/568flat/SmileySans-Oblique_32.pf2 b/568flat/SmileySans-Oblique_32.pf2 deleted file mode 100644 index b4eed84..0000000 Binary files a/568flat/SmileySans-Oblique_32.pf2 and /dev/null differ diff --git a/568flat/SmileySans-Oblique_48.pf2 b/568flat/SmileySans-Oblique_48.pf2 deleted file mode 100644 index 322738e..0000000 Binary files a/568flat/SmileySans-Oblique_48.pf2 and /dev/null differ diff --git a/568flat_x2-en/SmileySans-Oblique_64.pf2 b/568flat_x2-en/SmileySans-Oblique_64.pf2 deleted file mode 100644 index e2ccf8d..0000000 Binary files a/568flat_x2-en/SmileySans-Oblique_64.pf2 and /dev/null differ diff --git a/568flat_x2-en/SmileySans-Oblique_96.pf2 b/568flat_x2-en/SmileySans-Oblique_96.pf2 deleted file mode 100644 index c874fda..0000000 Binary files a/568flat_x2-en/SmileySans-Oblique_96.pf2 and /dev/null differ diff --git a/568flat_x2/SmileySans-Oblique_64.pf2 b/568flat_x2/SmileySans-Oblique_64.pf2 deleted file mode 100644 index e2ccf8d..0000000 Binary files a/568flat_x2/SmileySans-Oblique_64.pf2 and /dev/null differ diff --git a/568flat_x2/SmileySans-Oblique_96.pf2 b/568flat_x2/SmileySans-Oblique_96.pf2 deleted file mode 100644 index c874fda..0000000 Binary files a/568flat_x2/SmileySans-Oblique_96.pf2 and /dev/null differ