Merge pull request #45 from oharaandrew314/official-fake-update #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |