Skip to content

Commit

Permalink
Fix CI failing randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Feb 8, 2024
1 parent b4823ac commit 8d09553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew check build publishToMavenLocal --stacktrace --parallel
- run: ./gradlew check build --stacktrace --parallel
- run: ./gradlew publishToMavenLocal --stacktrace
- uses: actions/upload-artifact@v3
with:
name: Artifacts
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ def moduleDependencies(Project project, List<String> projectNames) {
mavenJava(MavenPublication) {
if (getProjectSimpleName(project) == "legacyfabric-api") {
artifactId = "legacy-fabric-api"
} else {
artifactId = getProjectMavenName(project)
}

pom.withXml {
Expand Down Expand Up @@ -417,6 +415,8 @@ task javadocJar(type: Jar) {
build.dependsOn javadocJar

subprojects {
base.setArchivesName(getProjectMavenName(it))

dependencies {
testmodImplementation sourceSets.main.output

Expand Down

0 comments on commit 8d09553

Please sign in to comment.