Skip to content

Commit

Permalink
fix(rules): Update method of passing GitHub CI variables to current API
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 19, 2024
1 parent f9c4c3e commit fe277e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ runs:
image: docker://ghcr.io/theleagueof/fontship:v0.9.5
args:
- make
- _gha
- dist
branding:
icon: truck
Expand Down
7 changes: 4 additions & 3 deletions rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ force:;

.PHONY: _gha
_gha:
echo "::set-output name=PROJECT::$(PROJECT)"
echo "::set-output name=font-version::$(FontVersion)"
echo "::set-output name=DISTDIR::$(DISTDIR)"
exec >> $${GITHUB_OUTPUT:-/dev/stdout}
echo "PROJECT=$(PROJECT)"
echo "font-version=$(FontVersion)"
echo "DISTDIR=$(DISTDIR)"

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

0 comments on commit fe277e4

Please sign in to comment.