diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index 98b1c3dd2..e5dc85a30 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -17,10 +17,10 @@ jobs: java-version: '17' distribution: 'temurin' cache: gradle - + - name: Get current date id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/mastodon/build.gradle b/mastodon/build.gradle index ae58d09d8..4758fab67 100644 --- a/mastodon/build.gradle +++ b/mastodon/build.gradle @@ -5,6 +5,7 @@ plugins { android { compileSdk 33 defaultConfig { + manifestPlaceholders = [oAuthScheme:"moshidon-android-auth"] archivesBaseName = "moshidon" applicationId "org.joinmastodon.android.moshinda" minSdk 23 @@ -49,6 +50,7 @@ android { debuggable true versionNameSuffix '-debug' applicationIdSuffix '.debug' + manifestPlaceholders = [oAuthScheme:"moshidon-android-debug-auth"] } githubRelease{ initWith release @@ -64,6 +66,7 @@ android { } applicationIdSuffix '.nightly' signingConfig signingConfigs.nightly + manifestPlaceholders = [oAuthScheme:"moshidon-android-nightly-auth"] } playRelease{ initWith release diff --git a/mastodon/src/main/AndroidManifest.xml b/mastodon/src/main/AndroidManifest.xml index f225dff03..aa9161bbf 100644 --- a/mastodon/src/main/AndroidManifest.xml +++ b/mastodon/src/main/AndroidManifest.xml @@ -41,7 +41,7 @@ - +