From fb9487c856639bf939f240f1d012544a6e10fc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Fri, 19 Mar 2021 17:06:31 -0300 Subject: [PATCH] github: workflows: Add binaries release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/deploy-unix.yml | 10 ++++++++++ .github/workflows/linux-arm-rtsp.yml | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/deploy-unix.yml b/.github/workflows/deploy-unix.yml index 79577dc8..619994e7 100644 --- a/.github/workflows/deploy-unix.yml +++ b/.github/workflows/deploy-unix.yml @@ -42,3 +42,13 @@ jobs: with: name: mavlink-camera-manager-${{ matrix.SUFFIX }} path: mavlink-camera-manager-${{ matrix.SUFFIX }} + + - uses: svenstaro/upload-release-action@v2 + name: Upload binaries to release + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')}} + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: mavlink-camera-manager-${{ matrix.SUFFIX }} + asset_name: mavlink-camera-manager-${{ matrix.SUFFIX }} + tag: ${{ github.ref }} + overwrite: true diff --git a/.github/workflows/linux-arm-rtsp.yml b/.github/workflows/linux-arm-rtsp.yml index ecf2746d..fe7cc60e 100644 --- a/.github/workflows/linux-arm-rtsp.yml +++ b/.github/workflows/linux-arm-rtsp.yml @@ -53,3 +53,14 @@ jobs: with: name: mavlink-camera-manager-armv7 path: mavlink-camera-manager-armv7 + + - uses: svenstaro/upload-release-action@v2 + name: Upload binaries to release + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')}} + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: mavlink-camera-manager-armv7 + asset_name: mavlink-camera-manager-armv7 + tag: ${{ github.ref }} + prerelease: true + overwrite: true