action-demo/.gitea/workflows/cache-npx.yml
huanghs 10f43c6526
Some checks failed
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
Gitea Actions Demo / build-docker (push) Successful in 25s
Gitea Actions Demo / Gitea-Actions (push) Failing after 1m15s
Cache Npx / task (push) Failing after 2m50s
build / build (10.x) (push) Has been cancelled
build / build (18.x) (push) Has been cancelled
build / build (16.x) (push) Has been cancelled
添加 .gitea/workflows/cache-npx.yml
2024-07-30 10:35:31 +08:00

17 lines
312 B
YAML

name: Cache Npx
on: [push]
jobs:
task:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache Gradle Wrapper
uses: actions/cache@v3
with:
path: ~/.npm/_npx
key: ${{ runner.os }}-npx
- run: npx degit -v