diff --git a/action.yml b/action.yml index 9b98969..010577a 100644 --- a/action.yml +++ b/action.yml @@ -83,7 +83,7 @@ runs: if: inputs.cache == 'true' shell: bash run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + echo "STORE_PATH=$(pnpm store path --silent | tail -n 1)" >> $GITHUB_ENV - name: Setup pnpm cache if: inputs.cache == 'true' diff --git a/index.ts b/index.ts index 7759a2b..32d6d88 100644 --- a/index.ts +++ b/index.ts @@ -119,4 +119,4 @@ try { }); } catch (error: any) { core.setFailed(error.message); -} +} \ No newline at end of file diff --git a/scripts/init.ts b/scripts/init.ts index e12c18e..ee13947 100644 --- a/scripts/init.ts +++ b/scripts/init.ts @@ -95,4 +95,4 @@ const run = async ( } }; -export default run; +export default run; \ No newline at end of file