From 59cd7b5251fc51a5d957b548ac07fb559fb38822 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 14 Oct 2022 23:18:41 +0200 Subject: [PATCH] GH Actions: fix use of deprecated `set-output` GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files. This commit updates workflows to use the new methodology. Refs: * https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files --- .github/workflows/promote-tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote-tag.yml b/.github/workflows/promote-tag.yml index cdf6188..88a3063 100644 --- a/.github/workflows/promote-tag.yml +++ b/.github/workflows/promote-tag.yml @@ -26,7 +26,7 @@ jobs: OUTPUT="${OUTPUT//'%'/'%25'}" OUTPUT="${OUTPUT//$'\n'/'%0A'}" OUTPUT="${OUTPUT//$'\r'/'%0D'}" - echo "::set-output name=body::$OUTPUT" + echo "body=$OUTPUT" >> $GITHUB_OUTPUT - name: Debug Changelog run: echo "Extracted this Changelog \n ${{ steps.changelog.outputs.body }}" - uses: ncipollo/release-action@v1