From b824b8fbf68e6b98f8bd056e8fa0b7cdc6991f70 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 6 Feb 2025 13:10:21 +0100 Subject: [PATCH 1/2] GitHub Actions: Update JDK versions in the 'main' workflow Updated the JDK versions in the workflow matrix to the latest patches (17.0.14_7 and 21.0.6_7) for improved stability and compatibility. This ensures the CI pipeline uses up-to-date dependencies. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39a3ca1..38d7adb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: strategy: max-parallel: 3 matrix: - jdk: [ 17.0.13_11, 21.0.5_11, 22.0.2_9 ] + jdk: [ 17.0.14_7, 21.0.6_7, 22.0.2_9 ] android: [ 34, 35 ] ndk: [ 26.3.11579264, 27.2.12479018 ] cmake: [ 3.31.1 ] From f6aafd4e10a50cdacbdf4bf86b43b5247a511755 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 6 Feb 2025 13:10:38 +0100 Subject: [PATCH 2/2] Set permissions to write for packages in GitHub Actions This change adds the `packages: write` permission to the workflow. It ensures the workflow can properly publish or modify packages during execution. --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38d7adb..5b8f13f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,8 @@ jobs: android: [ 34, 35 ] ndk: [ 26.3.11579264, 27.2.12479018 ] cmake: [ 3.31.1 ] + permissions: + packages: write steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2