From 3e9a39ca137dfd02d33552cf0c51024a6469d8af Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 20 Mar 2020 11:33:48 +0100 Subject: [PATCH] github: Upload the ch-remote asset Signed-off-by: Samuel Ortiz --- .github/workflows/build.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index abadd187b..33912b767 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -48,8 +48,8 @@ jobs: release_name: ${{ github.ref }} draft: true prerelease: true - - name: Upload Release Asset - id: upload-release-asset + - name: Upload cloud-hypervisor + id: upload-release-cloud-hypervisor uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -58,3 +58,13 @@ jobs: asset_path: target/release/cloud-hypervisor asset_name: cloud-hypervisor asset_content_type: application/octet-stream + - name: Upload ch-remote + id: upload-release-ch-remote + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: target/release/ch-remote + asset_name: ch-remote + asset_content_type: application/octet-stream