diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ab2de3..a0de94f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,11 +7,14 @@ on: jobs: build: runs-on: ubuntu-latest - container: - image: openjdk:21-jdk steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + - uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 - run: chmod +x ./gradlew - run: ./gradlew clean build publishCurseForge modrinth env: