Skip to content

Commit

Permalink
ci: 更新action中pnpm版本
Browse files Browse the repository at this point in the history
  • Loading branch information
wan92hen committed Feb 29, 2024
1 parent 3e1ae2e commit 1ff9a91
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ jobs:
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
echo "ARTIFACT_PATHNAME=${ARTIFACT_PATHNAME}" >> $GITHUB_ENV
echo "RELEASE_ID=${{ github.event.release.id }}" >> $GITHUB_ENV
mkdir $PRE_ZIP_FOLDER
mkdir dist
cp -r theme.yaml settings.yaml annotation-settings.yaml templates $PRE_ZIP_FOLDER/
zip -r $ARTIFACT_PATHNAME $PRE_ZIP_FOLDER
pnpm zip
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand All @@ -88,7 +85,7 @@ jobs:
name: Install pnpm
id: install-pnpm
with:
version: 7
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
Expand Down

0 comments on commit 1ff9a91

Please sign in to comment.