NIFI-12752 Updated GitHub Workflows to use macos-14

- Upgraded setup-java action from v3 to v4
- Upgraded setup-python action from v4 to v5
- Updated system-tests to use Python 3.10 instead of Python 3.9

This closes #8371

Signed-off-by: David Handermann <exceptionfactory@apache.org>
Signed-off-by: Joe Witt <joewitt@apache.org>
This commit is contained in:
exceptionfactory 2024-02-06 22:47:52 -06:00
parent 7ec2dd07c9
commit 202ca3c638
No known key found for this signature in database
5 changed files with 13 additions and 13 deletions

View File

@ -97,7 +97,7 @@ jobs:
# Cache Maven modules using a cache key different from setup-java steps
key: ${{ runner.os }}-maven-static-analysis-${{ hashFiles('**/pom.xml') }}
- name: Set up Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
@ -145,7 +145,7 @@ jobs:
**/node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '21'
@ -188,7 +188,7 @@ jobs:
macos-build-jp:
timeout-minutes: 150
runs-on: macos-latest
runs-on: macos-14
name: MacOS Zulu JDK 21 JP
steps:
- name: System Information
@ -207,7 +207,7 @@ jobs:
**/node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
@ -274,7 +274,7 @@ jobs:
**\node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'

View File

@ -47,7 +47,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Java Zulu 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21

View File

@ -107,7 +107,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Java Zulu 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21

View File

@ -99,7 +99,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Java Zulu 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21

View File

@ -77,7 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, macos-14 ]
version: [ 21 ]
timeout-minutes: 120
runs-on: ${{ matrix.os }}
@ -98,16 +98,16 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Java ${{ env.JAVA_DISTRIBUTION }} ${{ matrix.version }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
java-version: ${{ matrix.version }}
cache: 'maven'
- name: Set up Python 3.9
uses: actions/setup-python@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
- name: Build Dependencies
env: