From ed0172a253141b83fc3ec642106b02e2684d5bd2 Mon Sep 17 00:00:00 2001 From: Mel Massadian Date: Tue, 18 Oct 2022 12:02:38 +0200 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E2=9A=A1=EF=B8=8F=20cross-platform?= =?UTF-8?q?=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b5e0d3..72c9d4c 100644 --- a/README.md +++ b/README.md @@ -120,12 +120,12 @@ jobs: - name: Get pnpm store directory id: pnpm-cache run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" - uses: actions/cache@v3 name: Setup pnpm cache with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- From c8a150e1374a95f4ffc5c04772b88de2700b27ba Mon Sep 17 00:00:00 2001 From: Mel Massadian Date: Tue, 18 Oct 2022 12:23:15 +0200 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E2=9A=A1=EF=B8=8F=20just=20use=20sh?= =?UTF-8?q?ell:bash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit set-output is deprecated see #58 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72c9d4c..cf52ea1 100644 --- a/README.md +++ b/README.md @@ -119,13 +119,14 @@ jobs: - name: Get pnpm store directory id: pnpm-cache + shell: bash run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 name: Setup pnpm cache with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store-