Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update GitHub actions set-output uses (#18988)

David Taylor70a990da0385
diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml
index 18fa2b2f0e8..7bedc1dfc9a 100644
--- a/.github/workflows/licenses.yml
+++ b/.github/workflows/licenses.yml
@@ -52,7 +52,7 @@ jobs:
- name: Get yarn cache directory
id: yarn-cache-dir
- run: echo "::set-output name=dir::$(yarn cache dir)"
+ run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v3
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index 59379f06aff..2522c36d4fd 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -49,7 +49,7 @@ jobs:
- name: Get yarn cache directory
id: yarn-cache-dir
- run: echo "::set-output name=dir::$(yarn cache dir)"
+ run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v3
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f4bab3afdf9..782a2fb3dfc 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -81,7 +81,7 @@ jobs:
- name: Get yarn cache directory
id: yarn-cache-dir
- run: echo "::set-output name=dir::$(yarn cache dir)"
+ run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v3
@@ -232,7 +232,7 @@ jobs:
- name: Get yarn cache directory
id: yarn-cache-dir
- run: echo "::set-output name=dir::$(yarn cache dir)"
+ run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v3