Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7

# With build-mode 'none' CodeQL infers no JDK from this project and
# models the JDK API on the java found on the PATH, so without this step
# the results follow the default JDK of the runner image: ubuntu-26.04
# brought JDK 25 and with it alerts for APIs deprecated only after
# Java 11. Pin the JDK and distribution the release is built with
# (release.yml): 8 on sustaining/15.2.x, 11 otherwise. It also serves
# the manual build below.
- name: Set up JDK
if: matrix.language == 'java-kotlin'
uses: actions/setup-java@v6
with:
java-version: ${{ (github.base_ref || github.ref_name) == 'sustaining/15.2.x' && '8' || '11' }}
distribution: 'temurin'

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
Expand Down Expand Up @@ -124,11 +138,6 @@ jobs:
id: js/syntax-error

# --- Manual build (only used when build-mode is 'manual') -------------
# - name: Set up JDK 11
# uses: actions/setup-java@v5
# with:
# java-version: '11'
# distribution: 'zulu'
# - name: Cache Maven packages
# uses: actions/cache@v6
# with:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2021-2026 3A Systems, LLC.

name: Package/Deploy

on:
Expand Down Expand Up @@ -30,7 +44,7 @@ jobs:
uses: actions/setup-java@v6
with:
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/15.2.x' && '8' || '11'}}
distribution: 'zulu'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2022-2026 3A Systems, LLC.

name: Release

on:
Expand Down Expand Up @@ -34,7 +48,7 @@ jobs:
uses: actions/setup-java@v6
with:
java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/15.2.x' && '8' || '11'}}
distribution: 'zulu'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
Loading