diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b748dcd..5d4c141 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,15 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: 17 - - name: make gradle wrapper executable - run: chmod +x ./gradlew - - name: build - run: ./gradlew build + uses: actions/setup-java@v2 + with: + distribution: 'adopt-hotspot' + java-version: 17 + cache: 'gradle' + - name: make gradle wrapper executable + run: chmod +x ./gradlew + - name: build + run: ./gradlew build - uses: Kir-Antipov/mc-publish@v3.0 with: curseforge-id: 515415 @@ -29,4 +31,4 @@ jobs: github-tag: 3.0.0-1.18.2 loaders: | fabric - quilt \ No newline at end of file + quilt