From 33041e9ba7e29c716b326efdb346e7969e57db14 Mon Sep 17 00:00:00 2001 From: Arun Sathiya Date: Sun, 25 Feb 2024 19:43:22 -0800 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command `save-state` and `set-output` commands used in GitHub Actions are deprecated and [GitHub recommends using environment files](https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/). This PR updates the usage of `::set-output` to `"$GITHUB_OUTPUT"` Instructions for envvar usage from GitHub docs: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter --- .github/workflows/daemon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml index e8e3ee1a7a3a..818d5eb68f42 100644 --- a/.github/workflows/daemon.yml +++ b/.github/workflows/daemon.yml @@ -139,7 +139,7 @@ jobs: | xargs sha1sum \ | sha1sum \ | cut -d" " -f1)" - echo "::set-output name=hash::$hash" + echo "hash=$hash" >> "$GITHUB_OUTPUT" - name: Cache Windows libraries uses: actions/cache@v2