1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-06 22:37:48 +02:00

remove GITHUB_OUTPUT from the TEST workflow to avoid differences between windows and unix syntax for reading env vars

This commit is contained in:
Netanel Rabinowitz 2022-10-13 19:35:14 +03:00
parent 34ab33b403
commit 08d0806e03

View file

@ -25,14 +25,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Determine npm cache directory
id: npm-cache
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Restore npm cache
uses: actions/cache@v3
with:
path: ${{ steps.npm-cache.outputs.dir }}
path: $(npm config get cache)
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-