Compare commits

...

3 Commits

Author SHA1 Message Date
Alan Orth 8e01595cc1
.github: fix distribution key 2022-10-06 20:47:14 +03:00
Alan Orth 8b3aac610d
.github: specify Java distribution 2022-10-06 20:39:31 +03:00
Alan Orth c2d7535d01
.github: update maven GitHub actions workflow
- Switch to Ubuntu 22.04 because `ubuntu-latest` is still 20.04
- Update actions to latest versions
- Specify Java 8 instead of 1.8
- Enable Maven caching
2022-10-06 20:36:08 +03:00
1 changed files with 7 additions and 5 deletions

View File

@ -12,13 +12,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml