-
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (33 loc) · 914 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
project: [ connect-pattern, custom-adapter-and-fake, extending-connect-adapters, developing-openai-plugins, using-connect-adapters ]
steps:
- uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
distribution: adopt
java-version: 11
cache: gradle
- run: pushd ${{ matrix.project }} && ./gradlew test
label:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- name: Tag automerge branch
if: ${{ github.event_name == 'pull_request' }}
uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/pr-labeler.yml
env:
GITHUB_TOKEN: ${{ secrets.ORG_PUBLIC_REPO_RELEASE_TRIGGERING }}