Revert "[ci] Remove all actions/cache steps from workflows"

This reverts commit 38695ae0b5.
This commit is contained in:
snomiao
2025-10-20 13:48:44 +00:00
parent 38695ae0b5
commit ab16635c51
8 changed files with 112 additions and 0 deletions

View File

@@ -28,6 +28,15 @@ jobs:
node-version: 'lts/*'
cache: 'pnpm'
- name: Cache tool outputs
uses: actions/cache@v4
with:
path: |
tsconfig.tsbuildinfo
key: release-tools-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
release-tools-cache-${{ runner.os }}-
- name: Get current version
id: current_version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT