From 71d3c418b4169ac30cf334b36d7c9f0255839e8b Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 13 Feb 2023 17:17:28 +0100 Subject: [PATCH] chore: migrate to Github Action's output files See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ for context. --- .github/workflows/pre-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 34e7e7930e..d8c3a0e308 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -25,8 +25,8 @@ jobs: tag_version=${branch:9} tag=${tag_version%/*} version=${tag_version##*/} - echo "::set-output name=tag::${tag}" - echo "::set-output name=version::${version}" + echo "tag=${tag}" >> $GITHUB_OUTPUT + echo "version=${version}" >> $GITHUB_OUTPUT - name: Log versions run: |- echo tag=${{ steps.extract.outputs.tag }}