diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 088b649b6e..1ec2d7a528 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -18,12 +18,12 @@ on: description: 'tag' required: true type: string - + jobs: Build-Apk: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set repository name as env variable run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV - name: Read version name from file @@ -31,7 +31,7 @@ jobs: id: read-version run: echo "::set-output name=vName::$(grep 'vName' libs.versions.toml | awk -F' = ' '{print $2}' | tr -d '"')" - name: Set Up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' # See 'Supported distributions' for available options java-version: '17' @@ -61,11 +61,12 @@ jobs: packageName: com.dhis2 releaseFiles: ${{ env.main_project_module }}/build/outputs/apk/dhisPlayServices/release/dhis2-v${{ steps.read-version.outputs.vName }}-googlePlay.apk track: production + status: inProgress whatsNewDirectory: whatsnew userFraction: 0.99 - name: Upload to Github - if: ${{ (inputs.github_release }} + if: ${{ inputs.github_release }} uses: ncipollo/release-action@v1 with: allowUpdates: true diff --git a/gradle.properties b/gradle.properties index aa56d1b138..634ac6504f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx3096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx4096M -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit