Skip to content

Commit

Permalink
feat(rules): Output detected family names to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 19, 2024
1 parent fe277e4 commit 73cc0c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Fontship
description: A font development toolkit and collaborative work flow
outputs:
family-name:
description: Font Family Name
family-names:
description: Font Family Names
font-version:
description: Font Version
DISTDIR:
description: Directory name with font family and detailed git version string
PROJECT:
description: Project Name
runs:
using: docker
image: docker://ghcr.io/theleagueof/fontship:v0.9.5
Expand Down
3 changes: 2 additions & 1 deletion rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,10 @@ force:;
.PHONY: _gha
_gha:
exec >> $${GITHUB_OUTPUT:-/dev/stdout}
echo "PROJECT=$(PROJECT)"
echo "family-names=$(FamilyNames)"
echo "font-version=$(FontVersion)"
echo "DISTDIR=$(DISTDIR)"
echo "PROJECT=$(PROJECT)"

.PHONY: all
all: fonts $(call ifTrue,$(DEBUG),debug)
Expand Down

0 comments on commit 73cc0c6

Please sign in to comment.