finally make meta updating work (hopefully)
Some checks failed
Publish to snapshot maven / build (push) Failing after 35s

This commit is contained in:
moehreag 2024-06-16 23:38:56 +02:00
parent 06b28c6e16
commit a0a34e9ca4
2 changed files with 9 additions and 5 deletions

View file

@ -16,11 +16,15 @@ jobs:
java-version: 21 java-version: 21
cache-write-only: "!startsWith(github.event.head_commit.message, '[no-cache]')" cache-write-only: "!startsWith(github.event.head_commit.message, '[no-cache]')"
- uses: https://github.com/gradle/actions/setup-gradle@v3 - uses: https://github.com/gradle/actions/setup-gradle@v3
- name: Build - name: Check Gradle Setup
run: | run: |
chmod +x ./gradlew chmod +x ./gradlew
cat ./settings.gradle.kts | sed "s/^.*:minecraft.*$//g" > settings.gradle.kts cat ./settings.gradle.kts | sed "s/^.*:minecraft.*$//g" > settings.gradle.kts
- name: Build
run: |
./gradlew :publishMavenJavaPublicationToFrogMCSnapshotsMavenRepository \ ./gradlew :publishMavenJavaPublicationToFrogMCSnapshotsMavenRepository \
-PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \ -PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace -PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace
./gradlew :updateMeta -PFrogMCMetaKey=${{ secrets.META_SECRET }} --stacktrace ./gradlew :updateMeta -PFrogMCMetaKey=${{ secrets.META_SECRET }} --stacktrace
- name: Update Meta
run: ./gradlew :updateMeta -PFrogMCMetaKey=${{ secrets.META_SECRET }} --stacktrace

View file

@ -3,19 +3,19 @@ plugins {
`java-library` `java-library`
id("io.freefair.lombok") version "8.+" id("io.freefair.lombok") version "8.+"
`maven-publish` `maven-publish`
id("dev.frogmc.meta-update") version "0.0.1-alpha.2" id("dev.frogmc.meta-update") version "0.0.1-alpha.3"
} }
group = "dev.frogmc" group = "dev.frogmc"
version = "0.0.1-alpha.1" version = "0.0.1-alpha.2"
repositories { repositories {
maven { maven {
name = "FrogMC Maven/Snapshots" name = "FrogMC Snapshots"
url = uri("https://maven.frogmc.dev/snapshots") url = uri("https://maven.frogmc.dev/snapshots")
} }
maven { maven {
name = "FrogMC Maven/Releases" name = "FrogMC Releases"
url = uri("https://maven.frogmc.dev/releases") url = uri("https://maven.frogmc.dev/releases")
} }
maven("https://maven.fabricmc.net/") maven("https://maven.fabricmc.net/")