change fixed URL to relative URL in GitHub Actions (#699)
This commit is contained in:
4
.github/actions/automatic-test/action.yml
vendored
4
.github/actions/automatic-test/action.yml
vendored
@@ -13,7 +13,6 @@ runs:
|
||||
run: |
|
||||
from fontTools.ttLib import TTFont
|
||||
from pathlib import Path
|
||||
from os import environ as env
|
||||
|
||||
font = TTFont('parts/fonts/proportional.otf')
|
||||
keys = set(font.getBestCmap().keys())
|
||||
@@ -28,7 +27,8 @@ runs:
|
||||
if missing:
|
||||
print('Missing characters:')
|
||||
for char, file, i in missing:
|
||||
print(f"'{char}'({ord(char):x}) in {file} at line {i} (https://github.com/26F-Studio/Techmino/blob/{env['GITHUB_SHA']}/{file}#L{i})")
|
||||
print(f"'{char}'({ord(char):x}) in {file} at line {i} " \
|
||||
f"(${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/{file}#L{i})")
|
||||
exit(1)
|
||||
else:
|
||||
print('All characters are present in the font.')
|
||||
|
||||
Reference in New Issue
Block a user