Skip to content
Snippets Groups Projects
Commit 627f6a26 authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Yaroslav Lobankov
Browse files

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
parent aed45121
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment