From 578f3771ed6202d22d84d2567aab0d2bc75e169c Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Tue, 19 Nov 2024 17:33:01 +0100 Subject: [PATCH 1/4] ci: update check out and set up java actions, address set output deprecated warning --- .github/workflows/deploy-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index ee762804f0..4ff2aaac2f 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -18,20 +18,20 @@ 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 working-directory: ./gradle id: read-version - run: echo "::set-output name=vName::$(grep 'vName' libs.versions.toml | awk -F' = ' '{print $2}' | tr -d '"')" + run: echo "vName=$(grep 'vName' libs.versions.toml | awk -F' = ' '{print $2}' | tr -d '\"')" >> $GITHUB_ENV - 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' From a67299fd6cc2341f3b5c0c6f7c60e965cdcce09b Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Tue, 19 Nov 2024 17:38:30 +0100 Subject: [PATCH 2/4] ci: remove incorrect character --- .github/workflows/deploy-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 4ff2aaac2f..8898ce61e5 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -66,7 +66,7 @@ jobs: userFraction: 0.99 - name: Upload to Github - if: ${{ (inputs.github_release }} + if: ${{ inputs.github_release }} uses: ncipollo/release-action@v1 with: allowUpdates: true From 71cd503711eb79b9a130e817dc9261c245ea82ea Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Tue, 19 Nov 2024 17:51:24 +0100 Subject: [PATCH 3/4] ci: increase heap memory size --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 5454499708c65b91c09a45416c918d5837ece2a8 Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Tue, 19 Nov 2024 18:15:53 +0100 Subject: [PATCH 4/4] ci: modify read version name --- .github/workflows/deploy-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 8898ce61e5..1ec2d7a528 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -29,7 +29,7 @@ jobs: - name: Read version name from file working-directory: ./gradle id: read-version - run: echo "vName=$(grep 'vName' libs.versions.toml | awk -F' = ' '{print $2}' | tr -d '\"')" >> $GITHUB_ENV + 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@v4 with: