From 3b5c82cfa2bad4c785483dfbbfe06ede1e1ded8e Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 21 Jul 2025 10:44:53 +0200 Subject: [PATCH] CI: Configure yarn cache path using ENV vars The old syntax was deprecated a while ago. https://github.blog/changelog/2022-10-10-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eec07341..62a4e8f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir='$(yarn cache dir)'" >> "$GITHUB_OUTPUT" - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)