Skip to content

Commit

Permalink
Update text hints
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs committed Jun 22, 2022
1 parent c8a191e commit 93ccba9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ publishData {
// This would use "master" as our stable branch
// useEldoNexusRepos()

// We publish everything of the java branch, which includes our compiled jar, sources and javadocs
// We publish everything of the java component, which includes our compiled jar, sources and javadocs
publishComponent("java")
}

Expand All @@ -54,7 +54,7 @@ publishing {
maven {
authentication {
credentials(PasswordCredentials::class) {
// Those credentials need to be set under "Settings -> Secrets" in your repository
// Those credentials need to be set under "Settings -> Secrets -> Actions" in your repository
username = System.getenv("NEXUS_USERNAME")
password = System.getenv("NEXUS_PASSWORD")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
9 changes: 7 additions & 2 deletions workflows/publish_gradle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
###################################################################
# This file should be located at .github/workflows/<filename>.yml #
###################################################################

name: Publish Gradle to Nexus

on:
Expand All @@ -19,7 +23,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
distribution: temurin
# Set your java version here
java-version: 17
- name: Build with Gradle
run: ./gradlew --build-cache build
Expand All @@ -28,6 +33,6 @@ jobs:
- name: Publish to eldonexus
run: ./gradlew publishMavenPublicationToEldoNexusRepository
env:
# Those credentials need to be set under "Settings -> Secrets" in your repository
# Those credentials need to be set under "Settings -> Secrets -> Actions" in your repository
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

0 comments on commit 93ccba9

Please sign in to comment.