From 10f43c6526220ffee0a4a1fd9b4e612ae53d2714 Mon Sep 17 00:00:00 2001 From: huanghs Date: Tue, 30 Jul 2024 10:35:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/cache-npx?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cache-npx.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/cache-npx.yml diff --git a/.gitea/workflows/cache-npx.yml b/.gitea/workflows/cache-npx.yml new file mode 100644 index 0000000..83570a9 --- /dev/null +++ b/.gitea/workflows/cache-npx.yml @@ -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