finally make meta updating work (hopefully)
Some checks failed
Publish to snapshot maven / build (push) Failing after 35s
Some checks failed
Publish to snapshot maven / build (push) Failing after 35s
This commit is contained in:
parent
06b28c6e16
commit
a0a34e9ca4
|
@ -16,11 +16,15 @@ jobs:
|
|||
java-version: 21
|
||||
cache-write-only: "!startsWith(github.event.head_commit.message, '[no-cache]')"
|
||||
- uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Build
|
||||
- name: Check Gradle Setup
|
||||
run: |
|
||||
chmod +x ./gradlew
|
||||
cat ./settings.gradle.kts | sed "s/^.*:minecraft.*$//g" > settings.gradle.kts
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew :publishMavenJavaPublicationToFrogMCSnapshotsMavenRepository \
|
||||
-PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
|
||||
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace
|
||||
./gradlew :updateMeta -PFrogMCMetaKey=${{ secrets.META_SECRET }} --stacktrace
|
||||
- name: Update Meta
|
||||
run: ./gradlew :updateMeta -PFrogMCMetaKey=${{ secrets.META_SECRET }} --stacktrace
|
||||
|
|
|
@ -3,19 +3,19 @@ plugins {
|
|||
`java-library`
|
||||
id("io.freefair.lombok") version "8.+"
|
||||
`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"
|
||||
version = "0.0.1-alpha.1"
|
||||
version = "0.0.1-alpha.2"
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "FrogMC Maven/Snapshots"
|
||||
name = "FrogMC Snapshots"
|
||||
url = uri("https://maven.frogmc.dev/snapshots")
|
||||
}
|
||||
maven {
|
||||
name = "FrogMC Maven/Releases"
|
||||
name = "FrogMC Releases"
|
||||
url = uri("https://maven.frogmc.dev/releases")
|
||||
}
|
||||
maven("https://maven.fabricmc.net/")
|
||||
|
|
Loading…
Reference in a new issue