Skip to content

Commit

Permalink
Onboarding skills (opensearch-project#163)
Browse files Browse the repository at this point in the history
* Fix onboarding skills repo issues (opensearch-project#156)

Signed-off-by: zane-neo <[email protected]>

* change publish workflow (opensearch-project#159)

Signed-off-by: zane-neo <[email protected]>

* Change jdk version

Signed-off-by: zane-neo <[email protected]>

---------

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
zane-neo authored and yuye-aws committed Apr 26, 2024
1 parent 0f835c2 commit 1042f1a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 17
java-version: 21
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1
with:
Expand All @@ -34,4 +34,4 @@ jobs:
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text)
echo "::add-mask::$SONATYPE_USERNAME"
echo "::add-mask::$SONATYPE_PASSWORD"
./gradlew publishShadowPublicationToSnapshotsRepository
./gradlew publishPluginZipPublicationToSnapshotsRepository
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ buildscript {

repositories {
mavenLocal()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
}

dependencies {
Expand All @@ -45,7 +45,7 @@ repositories {
}

allprojects {
group 'org.opensearch.plugin'
group 'org.opensearch'
version = opensearch_version.tokenize('-')[0] + '.0'
if (buildVersionQualifier) {
version += "-${buildVersionQualifier}"
Expand Down Expand Up @@ -176,6 +176,7 @@ dependencyLicenses.enabled = false
loggerUsageCheck.enabled = false
testingConventions.enabled = false
thirdPartyAudit.enabled = false
publishNebulaPublicationToMavenLocal.enabled = false

test {
testLogging {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

rootProject.name = 'agent-tools'
rootProject.name = 'opensearch-skills'

0 comments on commit 1042f1a

Please sign in to comment.