From fe277e4ca72edc59a06c99e653bd52b60c0979f3 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 19 Sep 2024 23:42:32 +0300 Subject: [PATCH] fix(rules): Update method of passing GitHub CI variables to current API --- action.yml | 1 - rules/rules.mk | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 4da80e0..1c5faa9 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,6 @@ runs: image: docker://ghcr.io/theleagueof/fontship:v0.9.5 args: - make - - _gha - dist branding: icon: truck diff --git a/rules/rules.mk b/rules/rules.mk index 064d3e1..85815d7 100644 --- a/rules/rules.mk +++ b/rules/rules.mk @@ -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)