Skip to content

Commit

Permalink
Change jdk version
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <[email protected]>
  • Loading branch information
zelinh committed Jul 11, 2022
1 parent 1222e95 commit 90dde3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:
- cron: 0 0 * * *

jobs:
list-manifests14:
list-manifests11:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2<3)print$0}' | jq -R -s -c 'split("\n")[:-1]')"
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2<2)print$0}' | jq -R -s -c 'split("\n")[:-1]')"

list-manifests17:
runs-on: ubuntu-latest
Expand All @@ -26,14 +26,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- id: set-matrix
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2>3)print$0}' | jq -R -s -c 'split("\n")[:-1]')"
run: echo "::set-output name=matrix::$(ls manifests/**/opensearch*.yml | awk -F/ '{if($2>2)print$0}' | jq -R -s -c 'split("\n")[:-1]')"

manifest-checks-jdk14:
needs: list-manifests14
manifest-checks-jdk11:
needs: list-manifests11
runs-on: ubuntu-latest
env:
PYTHON_VERSION: 3.7
JDK_VERSION: 14
JDK_VERSION: 11
strategy:
matrix:
manifest: ${{ fromJson(needs.list-manifests14.outputs.matrix) }}
Expand Down

0 comments on commit 90dde3c

Please sign in to comment.