Skip to content

Commit 259b001

Browse files
Typo fix and minor improvement in maven-publish GHA workflow. (opensearch-project#1387)
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
1 parent cd95bc5 commit 259b001

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ name: Publish snapshots to maven
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [
7-
main
8-
1.*
9-
2.*
10-
]
6+
branches:
7+
- main
8+
- 1.*
9+
- 2.*
1110

1211
jobs:
1312
build-and-publish-snapshots:
13+
strategy:
14+
fail-fast: false
15+
if: github.repository == 'opensearch-project/sql'
1416
runs-on: ubuntu-latest
1517

1618
permissions:
@@ -23,7 +25,7 @@ jobs:
2325
distribution: temurin # Temurin is a distribution of adoptium
2426
java-version: 11
2527
- uses: actions/checkout@v3
26-
- uses: aws-actions/configure-aws-credentials@v1
28+
- uses: aws-actions/configure-aws-credentials@v1.7.0
2729
with:
2830
role-to-assume: ${{ secrets.PUBLISH_SNAPSHOTS_ROLE }}
2931
aws-region: us-east-1

0 commit comments

Comments
 (0)