Skip to content

Commit

Permalink
actions/setup-java@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Mar 27, 2024
1 parent db10ff0 commit fa266b6
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install protobuf-compiler
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: zulu
java-version: 8
- name: Build with Maven
run: mvn -B package --file pom.xml

Expand All @@ -20,10 +21,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install protobuf-compiler
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: zulu
java-version: 8
- name: Build with Maven
run: mvn -B package --file pom.xml

Expand All @@ -32,10 +34,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install protobuf-compiler libprotobuf-java
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: zulu
java-version: 8
- name: Build with Ant
run: ant

Expand All @@ -44,10 +47,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install protobuf-compiler libprotobuf-java
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: zulu
java-version: 8
- name: Build with Ant
run: ant

0 comments on commit fa266b6

Please sign in to comment.