From 4eb80fb9b22ae4df7c2908e670b36cb74ffc814b Mon Sep 17 00:00:00 2001
From: Arun Sathiya <arun@arun.blog>
Date: Wed, 24 Jan 2024 01:19:43 -0800
Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command
 (#1530)

---
 .github/workflows/test-e2e-composable.yml | 2 +-
 .github/workflows/test-e2e-options.yml    | 2 +-
 .github/workflows/test-e2e-ssr.yml        | 2 +-
 .github/workflows/test.yml                | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test-e2e-composable.yml b/.github/workflows/test-e2e-composable.yml
index 0f1cab14..3504b667 100644
--- a/.github/workflows/test-e2e-composable.yml
+++ b/.github/workflows/test-e2e-composable.yml
@@ -38,7 +38,7 @@ jobs:
       - name: Get pnpm store directory
         id: pnpm-cache
         run: |
-          echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
+          echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
 
       - name: Cache pnpm modules
         uses: actions/cache@v2
diff --git a/.github/workflows/test-e2e-options.yml b/.github/workflows/test-e2e-options.yml
index 56f4f209..c0a84607 100644
--- a/.github/workflows/test-e2e-options.yml
+++ b/.github/workflows/test-e2e-options.yml
@@ -38,7 +38,7 @@ jobs:
       - name: Get pnpm store directory
         id: pnpm-cache
         run: |
-          echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
+          echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
 
       - name: Cache pnpm modules
         uses: actions/cache@v2
diff --git a/.github/workflows/test-e2e-ssr.yml b/.github/workflows/test-e2e-ssr.yml
index 21e02ed2..8c661fa2 100644
--- a/.github/workflows/test-e2e-ssr.yml
+++ b/.github/workflows/test-e2e-ssr.yml
@@ -38,7 +38,7 @@ jobs:
       - name: Get pnpm store directory
         id: pnpm-cache
         run: |
-          echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
+          echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
 
       - name: Cache pnpm modules
         uses: actions/cache@v2
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a6222407..ae0e14b1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,7 +35,7 @@ jobs:
       - name: Get pnpm store directory
         id: pnpm-cache
         run: |
-          echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
+          echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
 
       - name: Cache pnpm modules
         uses: actions/cache@v2