From 797705e7b4a0075c878570f602a661678e7320a3 Mon Sep 17 00:00:00 2001 From: Holden Date: Sun, 22 Sep 2024 01:08:14 -0400 Subject: [PATCH] CI: Create Continuous Prerelease --- .github/actions/upload/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/upload/action.yml b/.github/actions/upload/action.yml index dd6204492d7..7e664d9b34c 100644 --- a/.github/actions/upload/action.yml +++ b/.github/actions/upload/action.yml @@ -43,3 +43,11 @@ runs: working-directory: ${{ runner.temp }}/shadow_build_dir/${{ inputs.source }} run: aws s3 cp ${{ inputs.artifact_name }} s3://qgroundcontrol/latest/${{ inputs.artifact_name }} --acl public-read shell: bash + + - name: Create Continuous Release + if: ${{ github.event_name != 'pull_request' && github.ref_name == 'master' && !github.event.pull_request.head.repo.fork }} + uses: softprops/action-gh-release@v2 + with: + prerelease: true + files: | + ${{ runner.temp }}/shadow_build_dir/${{ inputs.source }}/${{ inputs.artifact_name }}