Skip to content

Merge connector repositories #110

Merge connector repositories

Merge connector repositories #110

# The workflow to check main after push or pull request.
name: Main and pull request checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
java-version: [ 11, 17 ]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: "temurin"
cache: gradle
- name: Build in Windows
if: runner.os == "Windows"

Check failure on line 26 in .github/workflows/main_push_workflow.yml

View workflow run for this annotation

GitHub Actions / Main and pull request checks

Invalid workflow file

The workflow is not valid. .github/workflows/main_push_workflow.yml (Line: 26, Col: 13): Unexpected symbol: '"Windows"'. Located at position 14 within expression: runner.os == "Windows" .github/workflows/main_push_workflow.yml (Line: 29, Col: 13): Unexpected symbol: '"macOS"'. Located at position 14 within expression: runner.os == "macOS"
run: ./gradlew build test
- name: Build in MacOS
if: runner.os == "macOS"
run: ./gradlew build test
- name: Build in Linux
if: runner.os == "Linux"
run: ./gradlew build check test integrationTest