Publish to the GTCEu Maven
This commit is contained in:
@@ -52,6 +52,20 @@ jobs:
|
|||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
|
||||||
|
- name: Publish to Maven
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
env:
|
||||||
|
MAVEN_USER: "${{secrets.MAVEN_USER}}"
|
||||||
|
MAVEN_PASSWORD: "${{secrets.MAVEN_PASSWORD}}"
|
||||||
|
with:
|
||||||
|
arguments: 'publish --daemon'
|
||||||
|
generate-job-summary: false
|
||||||
|
gradle-home-cache-includes: |
|
||||||
|
caches
|
||||||
|
jdks
|
||||||
|
notifications
|
||||||
|
wrapper
|
||||||
|
|
||||||
- name: Publish to Curseforge
|
- name: Publish to Curseforge
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
env:
|
env:
|
||||||
|
|||||||
+1
-1
@@ -153,7 +153,7 @@ noPublishedSources = false
|
|||||||
# For maven credentials:
|
# For maven credentials:
|
||||||
# Username is set with the 'MAVEN_USER' environment variable, default to "NONE"
|
# Username is set with the 'MAVEN_USER' environment variable, default to "NONE"
|
||||||
# Password is set with the 'MAVEN_PASSWORD' environment variable, default to "NONE"
|
# Password is set with the 'MAVEN_PASSWORD' environment variable, default to "NONE"
|
||||||
customMavenPublishUrl =
|
customMavenPublishUrl = https://maven.gtceu.com
|
||||||
|
|
||||||
# The group for maven artifacts. Defaults to the 'project.modGroup' until the last '.' (if any).
|
# The group for maven artifacts. Defaults to the 'project.modGroup' until the last '.' (if any).
|
||||||
# So 'mymod' becomes 'mymod' and 'com.myname.mymodid' 'becomes com.myname'
|
# So 'mymod' becomes 'mymod' and 'com.myname.mymodid' 'becomes com.myname'
|
||||||
|
|||||||
Reference in New Issue
Block a user