From 08f6ca98948f03dbe7c0b3d2486bea119aa07fc4 Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Fri, 14 Oct 2022 16:02:53 +0200 Subject: [PATCH] Remove deprecated set-output command (#32) * Remove deprecated set-output command See 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#setting-an-output-parameter * Update action.yml Co-authored-by: Rik Huijzer Co-authored-by: Rik Huijzer --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4330960..c69c628 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ runs: ${{ runner.os }}-test-${{ inputs.cache-name }}- - id: hit - run: echo "::set-output name=cache-hit::$(echo $CACHE_HIT)" + run: echo "cache-hit=$CACHE_HIT" >> $GITHUB_OUTPUT env: CACHE_HIT: ${{ steps.cache.outputs.cache-hit }} shell: bash