summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArun Sathiya <arun@arun.blog>2024-02-25 19:43:22 -0800
committerLinus Färnstrand <faern@faern.net>2024-08-28 12:56:30 +0200
commitc994a48397d05ebc192d35ff4742a1a7624a1645 (patch)
treea6d6449ed30ecfc6a4110ad9705337f0b02d7c3d
parent18c61de8d79e532aa391b3be771601b40d635864 (diff)
downloadmullvadvpn-c994a48397d05ebc192d35ff4742a1a7624a1645.tar.xz
mullvadvpn-c994a48397d05ebc192d35ff4742a1a7624a1645.zip
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
-rw-r--r--.github/workflows/daemon.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml
index e8e3ee1a7a..818d5eb68f 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