Fix package name

This commit is contained in:
MartinBraquet
2026-02-26 16:57:16 +01:00
parent f374fef4f9
commit 69f181e8ee
2 changed files with 14 additions and 8 deletions

View File

@@ -9,8 +9,10 @@ on:
- '.github/workflows/cd-android.yml'
jobs:
build-and-release:
check-version:
runs-on: ubuntu-latest
outputs:
should_build: ${{ steps.version_check.outputs.should_build }}
steps:
- name: Checkout repository
@@ -38,14 +40,18 @@ jobs:
if [ "${{ steps.curr_version.outputs.curr_version }}" -gt "${{ steps.prev_version.outputs.prev_version }}" ]; then
echo "should_build=true" >> $GITHUB_OUTPUT
else
echo "versionCode not increased. Skipping build."
echo "should_build=false" >> $GITHUB_OUTPUT
fi
- name: Stop if version not incremented
if: steps.version_check.outputs.should_build == 'false'
run: |
echo "VersionCode not increased. Skipping build."
exit 0
build-and-release:
runs-on: ubuntu-latest
needs: check-version
if: needs.check-version.outputs.should_build == 'true'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
@@ -86,6 +92,6 @@ jobs:
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.PLAY_SERVICE_ACCOUNT_JSON }}
packageName: com.your.package
packageName: com.compassconnections.app
releaseFiles: android/app/build/outputs/bundle/release/app-release.aab
track: internal

View File

@@ -8,7 +8,7 @@ android {
applicationId "com.compassconnections.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 41
versionCode 42
versionName "1.10.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {