Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/actions/playstore/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Android Build to Play Store
description: Checks out the QGC repo with all the correct settings
inputs:
artifact:
description: Build File To Upload
required: true
service_account_json:
description: The service account json private key file to authorize the upload request
required: true
runs:
using: "composite"
steps:
- name: Deploy to Play Store
if: ${{ github.event_name != 'pull_request' && github.ref_name == 'master' }}
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ inputs.service_account_json }}
packageName: com.mavlink.qgroundcontrol
releaseFiles: ${{ inputs.artifact }}
track: production
status: completed
7 changes: 7 additions & 0 deletions .github/workflows/android-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,10 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
source: ''
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Deploy to Play Store
# if: matrix.BuildType == 'Release'
# uses: ./.github/actions/playstore
# with:
# artifact_name: ${{ runner.temp }}/shadow_build_dir/${{ env.ARTIFACT }}
# service_account_json: ${{ secrets.SERVICE_ACCOUNT }}
Loading