From b8b4592eb66d11c17180d81921d4dd540a6be802 Mon Sep 17 00:00:00 2001 From: Andrew Grant Date: Wed, 22 Jun 2022 22:48:36 -0400 Subject: [PATCH] tweak release.yml --- .github/workflows/release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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