Skip to content

Commit

Permalink
github: workflows: Add binaries release
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Mar 19, 2021
1 parent be14f53 commit fb9487c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions .github/workflows/linux-arm-rtsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fb9487c

Please sign in to comment.