kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
ci(release): use correct promote action (#3019)
rodzic
f6eff0bc55
commit
05056c5ad6
|
|
@ -264,18 +264,20 @@ jobs:
|
||||||
echo "track=production" >> $GITHUB_OUTPUT
|
echo "track=production" >> $GITHUB_OUTPUT
|
||||||
echo "from_track=beta" >> $GITHUB_OUTPUT
|
echo "from_track=beta" >> $GITHUB_OUTPUT
|
||||||
echo "action=promote" >> $GITHUB_OUTPUT
|
echo "action=promote" >> $GITHUB_OUTPUT
|
||||||
|
echo "user_fraction=0.1" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Attempt to Promote on Google Play
|
- name: Attempt to Promote on Google Play
|
||||||
id: promote
|
id: promote
|
||||||
if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && steps.play_action.outputs.action == '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
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_JSON_KEY }}
|
service-account-json-raw: ${{ secrets.GOOGLE_PLAY_JSON_KEY }}
|
||||||
packageName: com.geeksville.mesh
|
package-name: com.geeksville.mesh
|
||||||
track: ${{ steps.play_action.outputs.track }}
|
to-track: ${{ steps.play_action.outputs.track }}
|
||||||
fromTrack: ${{ steps.play_action.outputs.from_track }}
|
from-track: ${{ steps.play_action.outputs.from_track }}
|
||||||
|
user-fraction: ${{ steps.play_action.outputs.user_fraction }}
|
||||||
|
|
||||||
- name: Upload to Google Play
|
- 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')
|
if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && (steps.play_action.outputs.action == 'upload' || steps.promote.outcome == 'failure')
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue