From 7d39be8c4d6673e8b19ddfc92fd6c438ecabd54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Naveiras?= Date: Wed, 14 Jun 2023 19:04:33 +0100 Subject: [PATCH] github actions update job outputs Here is much better explain that in the deprecation notice. https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6c4b0ea..10d65e0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,10 +35,10 @@ jobs: CURRENT_VERSION="v$(cat VERSION)" if [[ $(git tag -l "${CURRENT_VERSION}") == "${CURRENT_VERSION}" ]]; then echo "Version ${CURRENT_VERSION} is already released" - echo "{release}={false}" >> $GITHUB_OUTPUT + echo "release=false" >> "$GITHUB_OUTPUT" else echo "Version ${CURRENT_VERSION} can be release" - echo "{release}={true}" >> $GITHUB_OUTPUT + echo "release=true" >> "$GITHUB_OUTPUT" fi exit 0