File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -220,12 +220,14 @@ jobs:
220
220
mv ./README ./artifacts/README.txt
221
221
cd ./artifacts
222
222
tar -czf vnt-$TARGET-$TAG.tar.gz *
223
+ mkdir upload_file
224
+ mv vnt-$TARGET-$TAG.tar.gz ./upload_file/
223
225
- name : Archive artifact
224
226
uses : actions/upload-artifact@v4
225
227
with :
226
228
name : vnt-cli-${{ matrix.TARGET }}
227
229
path : |
228
- ./artifacts
230
+ ./artifacts/upload_file
229
231
# deploys to github releases on tag
230
232
deploy :
231
233
if : startsWith(github.ref, 'refs/tags/')
@@ -235,15 +237,14 @@ jobs:
235
237
- name : Download artifacts
236
238
uses : actions/download-artifact@v4
237
239
with :
238
- name : vnt-cli-${{ matrix.TARGET }}
239
240
path : ./artifacts
240
241
- name : List
241
242
run : find ./artifacts
242
243
- name : Release
243
244
uses : svenstaro/upload-release-action@v2
244
245
with :
245
246
repo_token : ${{ secrets.YOURTOKEN }}
246
- file : ./artifacts/*.tar.gz
247
+ file : ./artifacts/**/* .tar.gz
247
248
tag : ${{ github.ref }}
248
249
overwrite : true
249
250
file_glob : true
You can’t perform that action at this time.
0 commit comments