@@ -61,10 +61,10 @@ jobs:
6161 tmp=$(mktemp)
6262 jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json
6363 mkdir dist
64- echo $VERSION > .version
65- echo $NAME > .name
64+ echo $VERSION > meta .version
65+ echo $NAME > meta .name
6666 - name : Use Node.js
67- uses : actions/setup-node@v3
67+ uses : actions/setup-node@v4
6868 with :
6969 node-version : 20
7070 - run : npm install
@@ -80,24 +80,24 @@ jobs:
8080 if : runner.os == 'Linux'
8181 run : |
8282 npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix
83- - uses : actions/upload-artifact@v4.4.2
83+ - uses : actions/upload-artifact@v4
8484 if : (runner.os == 'Linux') && (github.event_name != 'release')
8585 with :
8686 name : ${{ steps.set-version.outputs.name }}.vsix
8787 path : ${{ steps.set-version.outputs.name }}.vsix
88- - uses : actions/upload-artifact@v4.4.2
88+ - uses : actions/upload-artifact@v4
8989 if : runner.os == 'Linux'
9090 with :
9191 name : meta
9292 path : |
93- .name
94- .version
93+ meta .name
94+ meta .version
9595 beta :
9696 if : (github.event_name == 'push')
9797 runs-on : ubuntu-latest
9898 needs : build
9999 steps :
100- - uses : actions/download-artifact@v4.1.7
100+ - uses : actions/download-artifact@v4
101101 with :
102102 name : meta
103103 path : .
@@ -106,9 +106,9 @@ jobs:
106106 if : runner.os == 'Linux'
107107 run : |
108108 set -x
109- echo "version=`cat .version`" >> $GITHUB_OUTPUT
110- echo "name=`cat .name`" >> $GITHUB_OUTPUT
111- - uses : actions/download-artifact@v4.1.7
109+ echo "version=`cat meta .version`" >> $GITHUB_OUTPUT
110+ echo "name=`cat meta .name`" >> $GITHUB_OUTPUT
111+ - uses : actions/download-artifact@v4
112112 with :
113113 name : ${{ steps.set-version.outputs.name }}.vsix
114114 - name : Create Release
@@ -129,20 +129,20 @@ jobs:
129129 with :
130130 ref : main
131131 token : ${{ secrets.TOKEN }}
132- - uses : actions/download-artifact@v4.1.7
132+ - uses : actions/download-artifact@v4
133133 with :
134134 name : meta
135135 path : .
136136 - name : Use Node.js
137- uses : actions/setup-node@v3
137+ uses : actions/setup-node@v4
138138 with :
139139 node-version : 20
140140 - name : Prepare build
141141 id : set-version
142142 run : |
143- VERSION=`cat .version`
144- NEXT_VERSION=`cat .version | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
145- echo "name=`cat .name`" >> $GITHUB_OUTPUT
143+ VERSION=`cat meta .version`
144+ NEXT_VERSION=`cat meta .version | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
145+ echo "name=`cat meta .name`" >> $GITHUB_OUTPUT
146146 tmp=$(mktemp)
147147 git config --global user.name 'ProjectBot'
148148 git config --global user.email '[email protected] '
0 commit comments