Skip to content

Commit

Permalink
fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Mar 3, 2025
1 parent b9161fb commit bdc6e0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
- name: Publish to Maven [Snapshots]
if: ${{ !github.event.inputs.release }}
run: >-
./gradlew publishAllPublicationsToDevOsReleasesRepository
-PdevOsReleasesUsername="${{ secrets.MAVEN_USER }}"
-PdevOsReleasesPassword="${{ secrets.MAVEN_PASS }}"
./gradlew publishAllPublicationsToDevOsSnapshotsRepository
-PdevOsSnapshotsUsername="${{ secrets.MAVEN_USER }}"
-PdevOsSnapshotsPassword="${{ secrets.MAVEN_PASS }}"
# TODO: add back CF and MR publishing at some point

Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ tasks.named<JavaCompile>("compileJava") {
publishing {
publications {
register<MavenPublication>("mavenJava") {
artifactId = "create-fabric-$minecraftVersion"
from(components["java"])
}
}
Expand Down

0 comments on commit bdc6e0f

Please sign in to comment.