mirror of
https://github.com/ViaVersion/ViaNBT.git
synced 2024-11-22 11:35:16 +01:00
[ci skip] Oh neptune. (#2)
Updates checkout and setup-java from v1 -> v4, Then adds the distribution and check-latest flags to clarify what JDK engine we want and finally freeze the ubuntu version to specific version.
This commit is contained in:
parent
921fa31b29
commit
b59ff0dea2
19
.github/workflows/maven.yml
vendored
19
.github/workflows/maven.yml
vendored
@ -1,17 +1,16 @@
|
|||||||
name: Java CI
|
name: Java CI with Maven
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: Checkout Repository
|
||||||
- name: Set up JDK 1.8
|
uses: actions/checkout@v4
|
||||||
uses: actions/setup-java@v1
|
- name: Set up JDK 8
|
||||||
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'temurin'
|
||||||
|
java-version: 8
|
||||||
|
check-latest: true
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn package --file pom.xml
|
run: mvn package --file pom.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user