Skip to content

Commit

Permalink
chore(ci): java (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Dec 14, 2021
1 parent 5f4fc12 commit a4e750f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/actions/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ runs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}

- name: Restore maven dependencies.
uses: actions/cache@v2
with:
path: '~/.m2/repository'
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
17 changes: 16 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,24 @@ jobs:
- name: Lint
run: yarn lint

client_java:
runs-on: ubuntu-20.04
needs: [setup, specs]
steps:
- uses: actions/checkout@v2

- name: Restore cache
uses: ./.github/actions/cache

- name: Generate search client
run: yarn generate java search

- name: Build search client
run: yarn client:build-java

cts:
runs-on: ubuntu-20.04
needs: [setup, specs, client_javascript]
needs: [setup, specs, client_javascript, client_java]
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit a4e750f

Please sign in to comment.