-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Here are the version applied change from https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-3 and https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ :
- name: Get npm cache directory
id: npm-cache
run: |
echo "DIR=$(npm config get cache)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: cache
with:
path: ${{ steps.npm-cache.outputs.DIR }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
But it says
Run actions/cache@v3
Error: Input required and not supplied: path
https://github.com/tiddly-gittly/TidGi-Desktop/actions/runs/3490700929/jobs/5842458974
I don't know how to solve this, because the example is staled https://github.com/actions/cache/blob/main/examples.md#node---npm
Metadata
Metadata
Assignees
Labels
No labels