diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index e3a98e2..3e9a7c3 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -16,7 +16,7 @@ jobs: java-version: 21 - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - - name: Publish package + - name: Build run: ./gradlew build sourcesJar javadocJar publish env: ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 2263d8f..f379c8b 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -18,10 +18,10 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 21 + java-version: 22 - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - - name: Publish package + - name: Build run: ./gradlew -Pversion=${VERSION} build sourcesJar javadocJar publishToSonatype closeAndReleaseSonatypeStagingRepository env: ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f04f1b8..75058bf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -56,7 +56,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 22 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 @@ -78,8 +82,7 @@ jobs: # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - if: matrix.build-mode == 'manual' shell: bash - run: | - ./gradlew build + run: ./gradlew build - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3