File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,14 @@ jobs:
334
334
- name : Download artifact
335
335
uses : actions/download-artifact@v2 # download all the artifacts
336
336
337
+ - name : prepare artifacts for the release
338
+ run : |
339
+ mkdir release
340
+ chmod -v +x ArduinoCreateAgent-linux-x64/*.run
341
+ mv -v ArduinoCreateAgent-linux-x64/* release/
342
+ cat ArduinoCreateAgent-osx/*.tar | tar -xvf - -i -C /release
343
+ mv -v ArduinoCreateAgent-windows/* release/
344
+
337
345
# - name: Read CHANGELOG
338
346
# id: changelog
339
347
# run: |
@@ -360,17 +368,17 @@ jobs:
360
368
with :
361
369
tag_name : ${{ github.ref }}
362
370
release_name : ${{ github.ref }}
363
- draft : true # only for test
364
- prerelease : true # see later how to handle this (maybe just a check on "-dev" will be sufficient)
365
371
body : " THIS IS A TEST RELEASE"
372
+ draft : false
373
+ prerelease : true # see later how to handle this (maybe just a check on "-dev" will be sufficient)
366
374
367
375
- name : Upload release files on Github
368
376
uses : svenstaro/upload-release-action@v2
369
377
with :
370
378
repo_token : ${{ secrets.GITHUB_TOKEN }}
371
379
tag : ${{ github.ref }}
372
380
file_glob : true # If set to true, the file argument can be a glob pattern
373
- file : ArduinoCreateAgent *
381
+ file : release/ *
374
382
375
383
# - name: Upload release files on Arduino downloads servers
376
384
# uses: docker://plugins/s3
You can’t perform that action at this time.
0 commit comments