From d4ebb524c57911166db1381d2f60ad8ff33eaff2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 24 Oct 2025 14:33:33 +0200 Subject: [PATCH] GHA: replace deprecated `set-output` command with `$GITHUB_OUTPUT` Fixing: ``` Image build and push 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/ ``` Ref: https://github.com/libssh2/libssh2/actions/runs/18667440406 Ref: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Ref: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#environment-files Closes #1735 --- .github/workflows/openssh_server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/openssh_server.yml b/.github/workflows/openssh_server.yml index 22ef5023..d6d4aef7 100644 --- a/.github/workflows/openssh_server.yml +++ b/.github/workflows/openssh_server.yml @@ -56,7 +56,7 @@ jobs: - shell: bash id: hash - run: echo "::set-output name=hash::$(git rev-parse --short=20 HEAD:tests/openssh_server)" + run: echo "hash=$(git rev-parse --short=20 HEAD:tests/openssh_server)" >> "$GITHUB_OUTPUT" - shell: bash id: poll