File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 9595 release_name : Release ${{ steps.tag_version.outputs.new_tag }}
9696 body : " Signed-off-by: ${{ github.actor }}"
9797
98- - name : Upload Release Asset
98+ - name : Compress the release asset
99+ run : |
100+ tar -cvjSf nesto-usbproxy_${{ steps.version.outputs.NEW_VERSION }}_armhf.tar.bz2 usbproxy/nesto-usbproxy_${{ steps.version.outputs.NEW_VERSION }}_armhf.deb
101+
102+ - name : Upload Release Asset - Debian Package
99103 uses : actions/upload-release-asset@v1
100104 id : upload-release-asset
101105 env :
@@ -106,6 +110,17 @@ jobs:
106110 asset_name : nesto-usbproxy_${{ steps.version.outputs.NEW_VERSION }}_armhf.deb
107111 asset_content_type : application/vnd.debian.binary-package
108112
113+ - name : Upload Release Asset - Archive
114+ uses : actions/upload-release-asset@v1
115+ id : upload-release-asset-archive
116+ env :
117+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118+ with :
119+ upload_url : ${{ steps.create_release.outputs.upload_url }}
120+ asset_path : nesto-usbproxy_${{ steps.version.outputs.NEW_VERSION }}_armhf.tar.bz2
121+ asset_name : nesto-usbproxy_${{ steps.version.outputs.NEW_VERSION }}_armhf.tar.bz2
122+ asset_content_type : application/vnd.debian.binary-package
123+
109124 upload-package :
110125 name : Upload nesto-usbproxy debian package into nesto repository in S3
111126 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ configure_file(
3636add_custom_target (uninstall
3737 ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR} /cmake_uninstall.cmake
3838)
39-
39+
You can’t perform that action at this time.
0 commit comments