From 5eff7c199a76521f2de1f8a7f84a2c75f1dcf325 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 19 Oct 2020 08:41:20 +0200 Subject: [PATCH] workflows: add artefact publishing --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3911c8c630..35a0b236af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -212,6 +212,15 @@ jobs: - name: Check the artifact run: | file "${PWD}/install/bin/mavsdk_server" + - name: Publish artefacts + if: startsWith(github.ref, 'refs/tags/v') + uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: "${PWD}/install/bin/mavsdk_server" + asset_name: 'mavsdk_server_musl_${{ matrix.arch }}' + tag: ${{ github.ref }} + overwrite: true px4-sitl-older: name: PX4 SITL ${{ matrix.px4_version }} (ubuntu-18.04)