From 83fc8269c0f68f661d834bbf33f76f5ffecd0709 Mon Sep 17 00:00:00 2001 From: AirryCo Date: Tue, 18 Mar 2025 13:32:52 +0800 Subject: [PATCH] bug fixed. --- .github/workflows/build-release-cron.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release-cron.yaml b/.github/workflows/build-release-cron.yaml index b011cdd..e39dfd1 100644 --- a/.github/workflows/build-release-cron.yaml +++ b/.github/workflows/build-release-cron.yaml @@ -166,7 +166,7 @@ jobs: with: path: | project/node_modules - key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package.json') }} + key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('project/package.json') }} restore-keys: | ${{ runner.os }}-npm-dependencies- @@ -375,7 +375,7 @@ jobs: with: path: | project/node_modules - key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package.json') }} + key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('project/package.json') }} restore-keys: | ${{ runner.os }}-npm-dependencies- @@ -389,6 +389,8 @@ jobs: - name: Build Windows Server id: build-server run: | + git config -f .lfsconfig lfs.url https://${{ secrets.GITEA_PUSH_TOKEN }}:@git.rui.he.cn:3000/henry/spt-server.git/info/lfs + git lfs pull cd project npm run build:release ls -l build