Skip to content

Commit

Permalink
Merge pull request #79 from simon04/patch-5
Browse files Browse the repository at this point in the history
actions/setup-java@v4
  • Loading branch information
joto authored Mar 28, 2024
2 parents db10ff0 + fa266b6 commit 65e7e97
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 65e7e97

Please sign in to comment.