From dfb4b3d16220d7eaec6687a7df825ab3985e78ad Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Fri, 20 Sep 2024 12:06:48 +0300 Subject: [PATCH] fix(rules): Update method of passing GitHub CI variables to current API --- rules/utilities.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rules/utilities.mk b/rules/utilities.mk index 38155479..3288552b 100644 --- a/rules/utilities.mk +++ b/rules/utilities.mk @@ -93,9 +93,10 @@ force:; .PHONY: _gha _gha: - echo "::set-output name=DISTDIR::$(DISTDIR)" - echo "::set-output name=PROJECT::$(PROJECT)" - echo "::set-output name=VERSION::$(call versioninfo,$(PROJECT))" + exec >> $${GITHUB_OUTPUT:-/dev/stdout} + echo "DISTDIR=$(DISTDIR)" + echo "PROJECT=$(PROJECT)" + echo "VERSION=$(call versioninfo,$(PROJECT))" .PHONY: _glc _glc: $(CI_JOB_NAME_SLUG).env