Skip to content

Commit

Permalink
fix maven branch (#1449) (#1450)
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit a2a1bba)

Co-authored-by: Shenoy Pratik <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and ps48 authored Mar 7, 2023
1 parent 68bcb0c commit 686cc83
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Publish snapshots to maven
on:
workflow_dispatch:
push:
branches: [
main
1.*
2.*
]
branches:
- main
- 1.*
- 2.*

jobs:
build-and-publish-snapshots:
Expand All @@ -33,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 686cc83

Please sign in to comment.