From 28a1c6ecd1d33fe85ec008b50c3309ffb3947b81 Mon Sep 17 00:00:00 2001 From: Michael Hillcox Date: Sat, 26 Aug 2023 22:24:32 +0100 Subject: [PATCH] fix: maven later --- .github/workflows/release.yaml | 4 ++-- build.gradle | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 285f8beb..2d3e77a8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,8 +15,8 @@ jobs: distribution: 'temurin' - name: Setup Gradle uses: gradle/gradle-build-action@v2 - - name: Build & Publish to Github Maven - run: ./gradlew build publish publishMods --no-daemon + - name: Build & Publish + run: ./gradlew build publishMods --no-daemon env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CURSE_TOKEN: ${{ secrets.CURSE_TOKEN }} diff --git a/build.gradle b/build.gradle index 200725f5..211a804b 100644 --- a/build.gradle +++ b/build.gradle @@ -155,16 +155,16 @@ publishing { } } - repositories { - maven { - name = "GitHubPackages" - url = "https://maven.pkg.github.com/Direwolf20-MC/MiningGadgets" - credentials { - username = providers.environmentVariable("GITHUB_ACTOR") - password = providers.environmentVariable("GITHUB_TOKEN") - } - } - } +// repositories { +// maven { +// name = "GitHubPackages" +// url = "https://maven.pkg.github.com/Direwolf20-MC/MiningGadgets" +// credentials { +// username = providers.environmentVariable("GITHUB_ACTOR") +// password = providers.environmentVariable("GITHUB_TOKEN") +// } +// } +// } } def makeChangelog() {