From 375e282afb31536a1d54a5cf1bd8ec383b1bd929 Mon Sep 17 00:00:00 2001 From: LatvianModder Date: Thu, 19 Oct 2023 13:10:20 +0300 Subject: [PATCH 1/2] Fixed maven links --- common/build.gradle | 2 +- fabric/build.gradle | 2 +- forge/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/build.gradle b/common/build.gradle index c490acf8..630229f5 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -31,7 +31,7 @@ publishing { if (ENV.SAPS_TOKEN) { maven { - url "https://maven.saps.dev/minecraft" + url "https://maven.saps.dev/releases" credentials { username = "latvian" password = "${ENV.SAPS_TOKEN}" diff --git a/fabric/build.gradle b/fabric/build.gradle index 35c1c7b9..7d2272c7 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -105,7 +105,7 @@ publishing { if (ENV.SAPS_TOKEN) { maven { - url "https://maven.saps.dev/minecraft" + url "https://maven.saps.dev/releases" credentials { username = "latvian" password = "${ENV.SAPS_TOKEN}" diff --git a/forge/build.gradle b/forge/build.gradle index bf6b6afa..71f9b9a6 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -107,7 +107,7 @@ publishing { if (ENV.SAPS_TOKEN) { maven { - url "https://maven.saps.dev/minecraft" + url "https://maven.saps.dev/releases" credentials { username = "latvian" password = "${ENV.SAPS_TOKEN}" From deaccf37a1dcd32edb98e380fad7b71fb68cf02f Mon Sep 17 00:00:00 2001 From: LatvianModder Date: Thu, 19 Oct 2023 13:20:01 +0300 Subject: [PATCH 2/2] Updated workflow file --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95245de3..0635ffcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,9 +3,8 @@ name: Java CI on: push: branches: - # main and dev versions for each mc ver here - - "1.19/main" - - "1.19/dev" + - "1.19/main" + - "1.19/dev" 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