From 5b2a06e9370230176f0b30511438fd110163e34f Mon Sep 17 00:00:00 2001 From: Joery <44531907+Joery-M@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:01:38 +0200 Subject: [PATCH] ci: Changed ::set-output to env variable --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 843bb288..ee26827c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v3 with: - version: 8 # Latest major + version: 8 # Last major run_install: false - name: Get pnpm store directory @@ -45,15 +45,14 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Get installed Playwright version - id: playwright-version - run: echo "::set-output name=version::$(pnpm ls -r | grep playwright | sed 's/.* //')" + run: echo "PLAYWRIGHT_VERSION=$(pnpm ls -r | grep playwright | sed 's/.* //')" >> $GITHUB_ENV - uses: actions/cache@v3 name: Setup playwright cache id: playwright-cache with: path: '~/.cache/ms-playwright' - key: '${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}' + key: '${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}' restore-keys: | ${{ runner.os }}-playwright-