Skip to content

Commit 1ff9a91

Browse files
committed
ci: 更新action中pnpm版本
1 parent 3e1ae2e commit 1ff9a91

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ jobs:
6161
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
6262
echo "ARTIFACT_PATHNAME=${ARTIFACT_PATHNAME}" >> $GITHUB_ENV
6363
echo "RELEASE_ID=${{ github.event.release.id }}" >> $GITHUB_ENV
64-
mkdir $PRE_ZIP_FOLDER
65-
mkdir dist
66-
cp -r theme.yaml settings.yaml annotation-settings.yaml templates $PRE_ZIP_FOLDER/
67-
zip -r $ARTIFACT_PATHNAME $PRE_ZIP_FOLDER
64+
pnpm zip
6865
- name: Upload artifact
6966
uses: actions/upload-artifact@v2
7067
with:
@@ -88,7 +85,7 @@ jobs:
8885
name: Install pnpm
8986
id: install-pnpm
9087
with:
91-
version: 7
88+
version: 8
9289
run_install: false
9390
- name: Get pnpm store directory
9491
id: pnpm-cache

0 commit comments

Comments
 (0)