Skip to content

Commit

Permalink
[Bugfix] Try using GITHUB_OUTPUT again
Browse files Browse the repository at this point in the history
  • Loading branch information
lnfel committed Sep 8, 2023
1 parent 73ed706 commit 7d8665b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,12 @@ jobs:
# old command errors with "Unable to process file command 'env' successfully."
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
run: |
{
echo 'STORE_PATH<<EOF'
$(pnpm store path --silent)
echo EOF
} >> $GITHUB_ENV
echo "STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
Expand Down

0 comments on commit 7d8665b

Please sign in to comment.