Skip to content

Commit

Permalink
Update runtimes for AWS CodeBuild
Browse files Browse the repository at this point in the history
To use node@20 we need to also use jdk@17.
  • Loading branch information
adamnfish committed Dec 19, 2023
1 parent 7aefe1d commit 9701a0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'corretto'
cache: 'sbt'
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $ npm run start

#### API

You will need a JDK installed (pokerdot uses 11, but others should
You will need a JDK installed (pokerdot uses 17, but others should
work fine) and `sbt`.

```bash
Expand Down
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ phases:
install:
runtime-versions:
nodejs: 20
java: corretto11
java: corretto17

pre_build:
commands:
Expand Down

0 comments on commit 9701a0b

Please sign in to comment.