From b28b990d012eaee5f01f0f53bebcec924d2f924f Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 19 Oct 2022 22:47:03 +0200 Subject: [PATCH] fix(ci): Migrate setting of environment variables See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Tilman Vatteroth --- .github/workflows/build.yml | 2 +- .github/workflows/deploy-main.yml | 2 +- .github/workflows/deploy-pr.yml | 2 +- .github/workflows/e2e.yml | 4 ++-- .github/workflows/lint.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10c5af38c..193134b49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml index 22c7a13ab..ebd09725d 100644 --- a/.github/workflows/deploy-main.yml +++ b/.github/workflows/deploy-main.yml @@ -18,7 +18,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3 diff --git a/.github/workflows/deploy-pr.yml b/.github/workflows/deploy-pr.yml index d095398f6..aad853764 100644 --- a/.github/workflows/deploy-pr.yml +++ b/.github/workflows/deploy-pr.yml @@ -18,7 +18,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4fa31dae3..a117455a8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -28,7 +28,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path if: steps.build-cache.outputs.cache-hit != 'true' - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3 @@ -86,7 +86,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 26f2deeca..77d242e71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - name: Cache yarn cache uses: actions/cache@v3