diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..6b1bc0cf --- /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" + +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 diff --git a/app/build.gradle b/app/build.gradle index b7868d0a..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" @@ -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}\"") diff --git a/gradlew b/gradlew old mode 100644 new mode 100755