Skip to content

Commit

Permalink
Move to bundle directory before signing
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Jul 27, 2023
1 parent a6e0c4f commit b15001b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-android-google-play.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
env:
# used for uploading the app to a GitHub release
GAME_EXECUTABLE_NAME: bevy_game
BUNDLE_PATH: "target/x/release/android/mobile.aab"
BUNDLE_DIR: "target/x/release/android/"
BUNDLE_NAME: "mobile.aab"
PACKAGE_NAME: "me.nikl.bevygame"
# release track; you can promote a build to "higher" tracks in the play console
TRACK: internal
Expand Down Expand Up @@ -42,7 +43,8 @@ jobs:
run: |
KEYSTORE_PATH=${{ runner.temp }}/upload-keystore.jks
echo -n "${{ secrets.PLAYSTORE_KEYSTORE }}" | base64 --decode > $KEYSTORE_PATH
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore $KEYSTORE_PATH -storepass ${{ secrets.PLAYSTORE_KEYSTORE_PASSWORD }} ${{ env.BUNDLE_PATH }} upload
cd ${{ env.BUNDLE_DIR }}
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore $KEYSTORE_PATH -storepass ${{ secrets.PLAYSTORE_KEYSTORE_PASSWORD }} ${{ env.BUNDLE_NAME }} upload
- name: Upload self-signed bundle to GitHub
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit b15001b

Please sign in to comment.