添加 .gitea/workflows/cache-npx.yml
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

This commit is contained in:
huanghs 2024-07-30 10:35:31 +08:00
parent 04c9d3a58b
commit 10f43c6526

View File

@ -0,0 +1,16 @@
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