更新 .gitea/workflows/build.yaml

This commit is contained in:
cxykevin 2024-05-26 06:59:04 +08:00
parent 3558b6f412
commit 422596e315
1 changed files with 10 additions and 0 deletions

View File

@ -23,7 +23,17 @@ jobs:
apt-get install lftp -y apt-get install lftp -y
- name: Checkout - name: Checkout
uses: https://git.hmtsai.cn/actions/checkout@v4 uses: https://git.hmtsai.cn/actions/checkout@v4
- name: Cache mdbook
uses: https://git.hmtsai.cn/actions/cache@v4
id: cache-mdbook
env:
cache-name: cache-mdbook
with:
key: ${{ runner.os }}-mdbook
path: |
study-area-action-deps
- name: Get file - name: Get file
if: ${{ steps.cache-mdbook.outputs.cache-hit != 'true' }}
run: | run: |
git clone https://git.hmtsai.cn/cxykevin/study-area-action-deps git clone https://git.hmtsai.cn/cxykevin/study-area-action-deps
echo "Check..." echo "Check..."