File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -220,12 +220,14 @@ jobs:
220220 mv ./README ./artifacts/README.txt
221221 cd ./artifacts
222222 tar -czf vnt-$TARGET-$TAG.tar.gz *
223+ mkdir upload_file
224+ mv vnt-$TARGET-$TAG.tar.gz ./upload_file/
223225 - name : Archive artifact
224226 uses : actions/upload-artifact@v4
225227 with :
226228 name : vnt-cli-${{ matrix.TARGET }}
227229 path : |
228- ./artifacts
230+ ./artifacts/upload_file
229231 # deploys to github releases on tag
230232 deploy :
231233 if : startsWith(github.ref, 'refs/tags/')
@@ -235,15 +237,14 @@ jobs:
235237 - name : Download artifacts
236238 uses : actions/download-artifact@v4
237239 with :
238- name : vnt-cli-${{ matrix.TARGET }}
239240 path : ./artifacts
240241 - name : List
241242 run : find ./artifacts
242243 - name : Release
243244 uses : svenstaro/upload-release-action@v2
244245 with :
245246 repo_token : ${{ secrets.YOURTOKEN }}
246- file : ./artifacts/*.tar.gz
247+ file : ./artifacts/**/* .tar.gz
247248 tag : ${{ github.ref }}
248249 overwrite : true
249250 file_glob : true
You can’t perform that action at this time.
0 commit comments