Skip to content

Commit 6916eea

Browse files
authored
Merge pull request #319 from cnblogs/update-github-action
chore: update github action
2 parents 6216bc7 + 914a87a commit 6916eea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/marketplace-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@v3
5757

5858
- name: Setup node.js
59-
uses: actions/setup-node@v3
59+
uses: actions/setup-node@v4
6060
with:
6161
node-version: 20.x
6262
cache: 'npm'
@@ -104,7 +104,7 @@ jobs:
104104
npx @vscode/vsce package --target ${{ steps.target.outputs.TARGET }} --no-git-tag-version --no-update-package-json ${{ steps.version.outputs.VERSION }}
105105
106106
- name: Upload artifact
107-
uses: actions/upload-artifact@v3
107+
uses: actions/upload-artifact@v4
108108
with:
109109
name: ${{ steps.target.outputs.TARGET }}
110110
path: '*.vsix'
@@ -113,6 +113,6 @@ jobs:
113113
runs-on: ubuntu-latest
114114
needs: build
115115
steps:
116-
- uses: actions/download-artifact@v3
116+
- uses: actions/download-artifact@v4
117117
- run: |
118118
npx @vscode/vsce publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.VSCETOKEN }}

0 commit comments

Comments
 (0)