Skip to content

Commit

Permalink
ci: Revert setup java
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Dec 8, 2023
1 parent b262677 commit 2a404c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down Expand Up @@ -47,11 +50,14 @@ jobs:
deploy-mod:
name: Deploy Mod
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down

0 comments on commit 2a404c2

Please sign in to comment.