From 627f6a261131589333b5a6b8bbe29b3870239a0c Mon Sep 17 00:00:00 2001 From: Yaroslav Lobankov <y.lobankov@tarantool.org> Date: Thu, 19 Jan 2023 17:02:08 +0300 Subject: [PATCH] ci: use new approach for returning step output The approach - name: Set output run: echo "::set-output name={name}::{value}" is deprecated [1]. Switching to the new approach: - name: Set output run: echo "{name}={value}" >> $GITHUB_OUTPUT [1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ NO_DOC=ci NO_TEST=ci NO_CHANGELOG=ci --- .github/workflows/reusable_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 7996bef84f..afef32e06b 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -38,7 +38,7 @@ jobs: submodules: recursive - name: 'Get the commit SHA' id: get_sha - run: echo "::set-output name=sha::$(git log -1 --format='%H')" + run: echo "sha=$(git log -1 --format='%H')" >> $GITHUB_OUTPUT - uses: ./.github/actions/environment - name: 'Build tarantool packages for ${{ env.OS }}(${{ env.DIST }})' id: run_build -- GitLab