From 9c453bf330a82a9552e1217a66c544ffb32558f8 Mon Sep 17 00:00:00 2001 From: Oleg Koretsky Date: Thu, 22 Feb 2024 14:38:44 +0200 Subject: [PATCH 1/5] Fix provider authority name for mainnet Used one with testnet suffix --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index b7868d0a..1dd1237c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -180,7 +180,7 @@ android { resValue "string", "wc_scheme", "\"${WC_SCHEME_BASE}\"" - def providerAuthority = PROVIDER_AUTHORITY_BASE+"-testnet" + def providerAuthority = PROVIDER_AUTHORITY_BASE resValue "string", "PROVIDER_AUTHORITY", "\"${providerAuthority}\"" buildConfigField("String", "PROVIDER_AUTHORITY", "\"${providerAuthority}\"") From 75ad458893729c878ad66da4d1ddd63cbaee5ea6 Mon Sep 17 00:00:00 2001 From: Oleg Koretsky Date: Thu, 22 Feb 2024 17:31:08 +0200 Subject: [PATCH 2/5] Update version to 0.6.1-qa.7 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 1dd1237c..6c9ed911 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -44,7 +44,7 @@ android { minSdkVersion 26 targetSdkVersion 34 versionCode vCode - versionName "0.6.1-qa.6" + versionName "0.6.1-qa.7" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" From 2d6565d1deace2838525b5ed7fe348246b1397cb Mon Sep 17 00:00:00 2001 From: Oleg Koretsky Date: Thu, 22 Feb 2024 18:11:35 +0200 Subject: [PATCH 3/5] Add GitHub CI build action --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..ffb6629b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push: + branches: + - "main" + paths-ignore: + - '*.md' + pull_request: + branches: + - "main" + workflow_dispatch: + +env: + java_version: "11.0.19" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: "${{env.java_version}}" + distribution: corretto + cache: gradle # caches dependencies (https://github.com/actions/setup-java#caching-packages-dependencies) + + - name: Build project (Stagenet) + run: ./gradlew app:assembleStagenetDebug --stacktrace From b4ad25c627483079d26b78b65e68863ce39ffd79 Mon Sep 17 00:00:00 2001 From: Oleg Koretsky Date: Thu, 22 Feb 2024 18:12:31 +0200 Subject: [PATCH 4/5] Use Java 11 for CI --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffb6629b..6b1bc0cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: workflow_dispatch: env: - java_version: "11.0.19" + java_version: "11" jobs: build: From 755ce8569c8565ae246ded6b3123a1b651002d8d Mon Sep 17 00:00:00 2001 From: Oleg Koretsky Date: Thu, 22 Feb 2024 18:13:54 +0200 Subject: [PATCH 5/5] Make gradle wrapper executable --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755