diff --git a/.github/workflows/italic_progress.yaml b/.github/workflows/italic_progress.yaml
index 876dc1b0..fcfc6e0a 100644
--- a/.github/workflows/italic_progress.yaml
+++ b/.github/workflows/italic_progress.yaml
@@ -24,10 +24,18 @@ jobs:
- name: Bootstrap environment
run: make configure
+ - name: Download URL
+ uses: actions/download-artifact@v4
+ with:
+ name: URL
+ path: ./
+
- name: Get progress
run: |
. venv/bin/activate
- python scripts/porting.py progress -m > progress.md
+ python scripts/porting.py progress \
+ --markdown \
+ --download-url $(cat ./download_url.txt) > progress.md
- name: Post progress
uses: marocchino/sticky-pull-request-comment@v2
diff --git a/scripts/porting.py b/scripts/porting.py
index 3602f77c..165acc47 100755
--- a/scripts/porting.py
+++ b/scripts/porting.py
@@ -19,6 +19,7 @@
@command(
arg("--markdown", "-m", action="store_true", help="Markdown output"),
+ arg("--download-url", "-d", help="Download URL"),
)
def progress(args):
"""Finds missing ligatures"""
@@ -37,20 +38,24 @@ def progress(args):
print(f"Glyphs coverage: {progress_value:.2f}%")
return
- # print("### Glyphs porting progress")
- # print(f"![](https://geps.dev/progress/{progress_value:.0f})")
- # print()
+ print("### Glyphs porting progress")
+ print(f"![](https://geps.dev/progress/{progress_value:.0f})")
+ print()
- # print("")
- # print("Glyphs status
")
- # print("")
- # for glyph in stored_glyphs:
- # if glyph in missing_glyphs:
- # print(f"- {glyph}
")
- # else:
- # print(f"{glyph} ")
- # print("
")
- # print(" ")
+ print("")
+ print("Glyphs status
")
+ print("")
+ for glyph in stored_glyphs:
+ if glyph in missing_glyphs:
+ print(f"- {glyph}
")
+ else:
+ print(f"{glyph} ")
+ print("
")
+ print(" ")
+
+ if args.download_url:
+ print()
+ print(f"**[Download]({args.download_url})** CI build")
@command()
def snapshot(args):