diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8325f14c..f5f2b525 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,4 +71,5 @@ jobs: CHANGELOG: ${{ github.event.release.body }} CURSEFORGE: ${{ secrets.CURSEFORGE }} MODRINTH: ${{ secrets.MODRINTH }} - run: ./gradlew publishMods --stacktrace --no-daemon --max-workers 1 + GITHUB_PAT: ${{ secrets.PAT }} + run: ./gradlew publishMods --stacktrace --no-daemon --max-workers 1 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 52213f83..8a528f39 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,15 @@ pluginManagement { repositories { maven("https://maven.fabricmc.net/") + // For early access to "unstable" features + maven { + name = "GitHubPackages" + url = uri("https://maven.pkg.github.com/null2264/architectury-loom") + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_PAT") + } + } maven("https://maven.architectury.dev/") maven("https://jitpack.io/") maven("https://files.minecraftforge.net/maven/") diff --git a/versions/1.20.2-neoforge/gradle.properties b/versions/1.20.2-neoforge/gradle.properties index 32f842a6..2914393d 100644 --- a/versions/1.20.2-neoforge/gradle.properties +++ b/versions/1.20.2-neoforge/gradle.properties @@ -1 +1 @@ -loom.platform=forge \ No newline at end of file +loom.platform=neoforge \ No newline at end of file