Skip to content

Commit

Permalink
Run CI with respective branch in core
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Oct 2, 2023
1 parent 7466271 commit 98c53ad
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,34 @@ on:
- main
- 1.*
- 2.*
- *
pull_request:

env:
GRADLE_OPTS: -Dhttp.keepAlive=false

jobs:
publish-maven-local:
runs-on: ubuntu-latest
steps:
- name: Set up JDK for build and test
uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 17

- name: Checkout core
uses: actions/checkout@v4
with:
repository: 'cwperks/OpenSearch'
ref: 'authn-before-compress'
path: 'OpenSearch'

- name: Publish to Maven Local
run: |
cd OpenSearch
./gradlew publishToMavenLocal
generate-test-list:
runs-on: ubuntu-latest
outputs:
Expand All @@ -33,7 +55,9 @@ jobs:
test:
name: test
needs: generate-test-list
needs:
- publish-maven-local
- generate-test-list
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 98c53ad

Please sign in to comment.