From d03561f333790ad813d4318ce1abc794e58d8375 Mon Sep 17 00:00:00 2001 From: Yezzi Hsueh Date: Thu, 22 Feb 2024 22:05:16 +0800 Subject: [PATCH] chore: cache deps --- .gitea/workflows/cron.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/cron.yml b/.gitea/workflows/cron.yml index af8c71e..1198d36 100644 --- a/.gitea/workflows/cron.yml +++ b/.gitea/workflows/cron.yml @@ -9,16 +9,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Cache Creates + uses: actions/cache@v3 + with: + path: /root/.cargo/registry - name: Setup Cargo uses: actions-rs/toolchain@v1 with: toolchain: stable - - name: build + - name: Create Script uses: actions-rs/cargo@v1 with: command: run - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: chn_list.rsc - path: chn_list.rsc + path: chn_list.rsc \ No newline at end of file