diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 862250f..0aa5f3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 8 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: - java-version: '8' + java-version: '11' distribution: 'temurin' cache: 'sbt' - name: Run tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b73e8c2..91fb7bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 8 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: - java-version: '8' + java-version: '11' distribution: 'temurin' cache: 'sbt' - name: Assemble JAR diff --git a/README.md b/README.md index 43bb4be..bccc4c4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Simple CLI application that reads a FIT file of a lap swim activity and produces ## Usage -`swim-report` is a CLI application, Java 8 or newer is required to run it. +`swim-report` is a CLI application, Java 11 or newer is required to run it. To download the latest available build, go to the releases in this repository or use [this link](https://github.com/rosvit/swim-report/releases/latest/download/swim-report.jar). @@ -46,6 +46,6 @@ of the native platform of your sports watch: ## Building from source -JDK 8 or later and [sbt](https://www.scala-sbt.org/) are required to build the application from source. +JDK 11 or later and [sbt](https://www.scala-sbt.org/) are required to build the application from source. Use `sbt compile` to compile the sources, `sbt test` to run the tests and `sbt assembly` to build the JAR with all dependencies.