mirror of https://github.com/sbt/sbt.git
Update GitHub Actions
This commit is contained in:
parent
765740c066
commit
598be45e2c
|
|
@ -10,12 +10,15 @@ jobs:
|
|||
include:
|
||||
- os: ubuntu-latest
|
||||
java: 8
|
||||
distribution: zulu
|
||||
jobtype: 1
|
||||
- os: ubuntu-latest
|
||||
java: 11
|
||||
distribution: temurin
|
||||
jobtype: 1
|
||||
- os: ubuntu-latest
|
||||
- os: macos-latest
|
||||
java: 17
|
||||
distribution: temurin
|
||||
jobtype: 1
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
|
|
@ -26,11 +29,13 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
distribution: "${{ matrix.distribution }}"
|
||||
java-version: "${{ matrix.java }}"
|
||||
cache: sbt
|
||||
- name: Setup sbt
|
||||
uses: sbt/setup-sbt@v1
|
||||
- name: Build and test (1)
|
||||
if: ${{ matrix.jobtype == 1 }}
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue