Skip to content

Commit

Permalink
Merge pull request opensearch-project#672 from ps48/fix_maven_publish
Browse files Browse the repository at this point in the history
fix maven publish workflow branches
  • Loading branch information
mengweieric committed Jun 8, 2023
2 parents 9039911 + 8c54a45 commit eeee598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
push:
branches:
- main
- '1.3'
- 2.x
- 1.*
- 2.*

jobs:
build-and-publish-snapshots:
Expand All @@ -32,4 +32,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 publishPluginZipPublicationToSnapshotsRepository
./gradlew publishPluginZipPublicationToSnapshotsRepository

0 comments on commit eeee598

Please sign in to comment.