Skip to content

Commit

Permalink
Modrinth has issues accepting javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
CleverNucleus committed Apr 30, 2023
1 parent ae452a3 commit 151bcb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,17 @@ jobs:
if: github.ref == 'refs/heads/${{ env.BRANCH_PREFIX }}/main'
uses: Kir-Antipov/[email protected]
with:
#curseforge-id: 514734
#curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#curseforge-dependencies: |
# fabric-api | depends | *
#curseforge-files-secondary: build/libs/*-@(sources\|javadoc).jar
curseforge-id: 514734
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-dependencies: |
fabric-api | depends | *
curseforge-files-secondary: build/libs/*-@(sources\|javadoc).jar

modrinth-id: wFyCClLQ
modrinth-token: "${{ secrets.MODRINTH_TOKEN }}"
modrinth-dependencies: |
fabric-api | depends | *
# Modrinth has issues accepting javadocs right now
modrinth-files-primary: build/libs/!(*-@(sources)).jar
modrinth-files-secondary: build/libs/*-sources.jar

github-tag: "${{ steps.mod_version.outputs.mod_version }}"
github-token: ${{ secrets.REPOSITORY_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ task javadocJar(type: Jar) {
archiveClassifier = "javadoc"
}

// Modrinth has issues accepting javadocs right now
// build.dependsOn javadocJar

java {
Expand Down

0 comments on commit 151bcb5

Please sign in to comment.