Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kitlangton committed May 3, 2024
1 parent 4710e37 commit 07f883c
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
tags: [v*]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_OPTS: '-Xmx2g'

jobs:
build:
Expand All @@ -24,7 +24,7 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [3.3.3]
java: [temurin@8]
java: [temurin@8, temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand All @@ -40,6 +40,14 @@ jobs:
java-version: 8
cache: sbt

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: Check that workflows are up to date
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

Expand Down Expand Up @@ -79,6 +87,14 @@ jobs:
java-version: 8
cache: sbt

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: Download target directories (3.3.3)
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 07f883c

Please sign in to comment.