diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cd06b91a..9d6f6e9f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -264,18 +264,20 @@ jobs: echo "track=production" >> $GITHUB_OUTPUT echo "from_track=beta" >> $GITHUB_OUTPUT echo "action=promote" >> $GITHUB_OUTPUT + echo "user_fraction=0.1" >> $GITHUB_OUTPUT fi - name: Attempt to Promote on Google Play id: promote if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && steps.play_action.outputs.action == 'promote' - uses: r0adkll/upload-google-play@v1.1.3 + uses: kevin-david/promote-play-release@v1 continue-on-error: true with: - serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_JSON_KEY }} - packageName: com.geeksville.mesh - track: ${{ steps.play_action.outputs.track }} - fromTrack: ${{ steps.play_action.outputs.from_track }} + service-account-json-raw: ${{ secrets.GOOGLE_PLAY_JSON_KEY }} + package-name: com.geeksville.mesh + to-track: ${{ steps.play_action.outputs.track }} + from-track: ${{ steps.play_action.outputs.from_track }} + user-fraction: ${{ steps.play_action.outputs.user_fraction }} - name: Upload to Google Play if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && (steps.play_action.outputs.action == 'upload' || steps.promote.outcome == 'failure')