File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,14 @@ jobs:
334334 - name : Download artifact
335335 uses : actions/download-artifact@v2 # download all the artifacts
336336
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+
337345 # - name: Read CHANGELOG
338346 # id: changelog
339347 # run: |
@@ -360,17 +368,17 @@ jobs:
360368 with :
361369 tag_name : ${{ github.ref }}
362370 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)
365371 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)
366374
367375 - name : Upload release files on Github
368376 uses : svenstaro/upload-release-action@v2
369377 with :
370378 repo_token : ${{ secrets.GITHUB_TOKEN }}
371379 tag : ${{ github.ref }}
372380 file_glob : true # If set to true, the file argument can be a glob pattern
373- file : ArduinoCreateAgent *
381+ file : release/ *
374382
375383 # - name: Upload release files on Arduino downloads servers
376384 # uses: docker://plugins/s3
You can’t perform that action at this time.
0 commit comments