diff --git a/.github/actions/upload/action.yml b/.github/actions/upload/action.yml index 7e664d9b34c..71611c3f5aa 100644 --- a/.github/actions/upload/action.yml +++ b/.github/actions/upload/action.yml @@ -14,6 +14,9 @@ inputs: description: Source location required: false default: package + github_token: + description: GitHub Token + required: false runs: using: "composite" @@ -44,10 +47,11 @@ runs: 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 }} + # - name: Create Continuous Release + # if: ${{ github.event_name != 'pull_request' && github.ref_name == 'master' && inputs.github_token != '' }} + # uses: softprops/action-gh-release@v2 + # with: + # tag_name: continuous + # prerelease: true + # files: ${{ runner.temp }}/shadow_build_dir/${{ inputs.source }}/${{ inputs.artifact_name }} + # token: ${{ inputs.github_token }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6d477fec36e..b41104b729d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -138,3 +138,4 @@ jobs: aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} source: '' + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a415db0b775..5a5e851f51b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -113,3 +113,4 @@ jobs: aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} source: 'package' + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9bb21ce684c..c8eaa9331ef 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -140,3 +140,4 @@ jobs: aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} source: '' + github_token: ${{ secrets.GITHUB_TOKEN }}