From 1580c9371745c4c3a08f9d51bb592cdf1feab2e7 Mon Sep 17 00:00:00 2001 From: LatvianModder Date: Thu, 19 Oct 2023 13:21:41 +0300 Subject: [PATCH] Updated workflow file --- .github/workflows/build_2002.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_2002.yml b/.github/workflows/build_2002.yml index 70402b0f..5f4999ed 100644 --- a/.github/workflows/build_2002.yml +++ b/.github/workflows/build_2002.yml @@ -3,9 +3,8 @@ name: Java CI on: push: branches: - # main and dev versions for each mc ver here - - "1.20/dev" - - "1.20/main" + - "1.20/dev" + - "1.20/main" workflow_dispatch: inputs: norelease: @@ -19,14 +18,15 @@ jobs: if: | !contains(github.event.head_commit.message, '[ci skip]') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 30 # Gets the last 30 commits so the changelog might work - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '17' + cache: gradle - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Build and Publish with Gradle