This is an automated email from the ASF dual-hosted git repository.
slawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-sbt.git
The following commit(s) were added to refs/heads/main by this push:
new c1e9ce7 Update CI Java and MacOS versions
c1e9ce7 is described below
commit c1e9ce78d1e3b5be32fb71fc1a5e491aa836a98e
Author: Steve Lawrence <[email protected]>
AuthorDate: Fri Jan 3 07:44:17 2025 -0500
Update CI Java and MacOS versions
- Add build matrix for Java 21
- Update MacOS to 14 since 12 is no longer supported by GitHub
- Install SBT for MacOS 14, GitHub does not include SBT by default in
MacOS 14
Closes #81
---
.github/workflows/main.yml | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d1289be..f846d90 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -39,15 +39,17 @@ jobs:
fail-fast: false
matrix:
java_distribution: [ temurin ]
- java_version: [ 8, 11, 17 ]
+ java_version: [ 8, 11, 17, 21 ]
scala_version: [ 2.12.18 ]
- os: [ ubuntu-22.04, windows-2022, macos-12 ]
+ os: [ ubuntu-22.04, windows-2022, macos-14 ]
exclude:
# only run macos on java 17
- - os: macos-12
+ - os: macos-14
java_version: 8
- - os: macos-12
+ - os: macos-14
java_version: 11
+ - os: macos-14
+ java_version: 21
include:
- shell: bash
- os: windows-2022
@@ -66,6 +68,10 @@ jobs:
# Setup
############################################################
+ - name: Install Dependencies (macOS)
+ if: runner.os == 'macOS'
+ run: brew install sbt
+
- name: Check out Repository
uses: actions/[email protected]