From 3f7c58d5d6ec6dc94c7855703f3275a3b7b70ef0 Mon Sep 17 00:00:00 2001 From: Tobias Jungel Date: Sat, 15 Oct 2022 15:18:36 +0200 Subject: [PATCH] docs: update README according to deprecation GitHub is deprecating the `set-output` command. This sets the output parameter according to: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter Warning from GitHub Action: ``` The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 788d667..f563c6d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ jobs: run: | changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then - echo "::set-output name=changed::true" + echo "changed=true" >> $GITHUB_OUTPUT fi - name: Run chart-testing (lint)