From 01a0e70e0efb3b7ce764d1cc3a40055df8f56556 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Wed, 11 Dec 2024 16:56:01 +0100 Subject: [PATCH 1/2] jitpack.io with java 17 --- jitpack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jitpack.yml b/jitpack.yml index 9c8ae86..aa01716 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,4 +1,4 @@ jdk: - - openjdk11 + - openjdk17 install: - ./gradlew :ChangeLogLib:build :ChangeLogLib:publishToMavenLocal -x :ChangeLogLib:test From 8b2c5ff52e9774174285974e54b3d356264b7ad0 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Wed, 11 Dec 2024 16:57:17 +0100 Subject: [PATCH 2/2] Pre-release in pipeline --- .github/workflows/Android-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/Android-release.yml b/.github/workflows/Android-release.yml index 4bba47e..82e027a 100644 --- a/.github/workflows/Android-release.yml +++ b/.github/workflows/Android-release.yml @@ -19,6 +19,17 @@ jobs: with: distribution: 'adopt' java-version: 17 + - name: Check pre-release + run: | + echo "tag=${{steps.tagger.outputs.tag}}" + if [[ ${{ steps.tagger.outputs.tag }} == *alpha* || ${{ steps.tagger.outputs.tag }} == *beta* ]] + then + prerelease=true + else + prerelease=false + fi + echo "PRE_RELEASE=$prerelease" >> $GITHUB_ENV + echo "prerelease=$prerelease" - name: Install Android SDK uses: malinskiy/action-android/install-sdk@release/0.1.3 - name: Build project