更新 .gitea/workflows/cache-npx.yml
Some checks failed
Some checks failed
This commit is contained in:
parent
a9a1918974
commit
8e37c423c1
@ -13,10 +13,16 @@ jobs:
|
|||||||
|
|
||||||
- run: pwd
|
- run: pwd
|
||||||
|
|
||||||
- name: Cache Gradle Wrapper
|
- name: Get npm cache dir
|
||||||
|
id: npm-cache-dir
|
||||||
|
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
|
||||||
|
|
||||||
|
- run: echo "${{ steps.npm-cache-dir.outputs.dir }}"
|
||||||
|
|
||||||
|
- name: Cache npx
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /root/.npm/_npx
|
path: ${{ steps.npm-cache-dir.outputs.dir }}/_npx
|
||||||
key: ${{ runner.os }}-npx
|
key: ${{ runner.os }}-npx
|
||||||
|
|
||||||
- run: npx cloc .
|
- run: npx cloc .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user