From c6a067eb8b8ee9a64d5c5abdb0f5a845f99a5466 Mon Sep 17 00:00:00 2001 From: owaiskazi19 Date: Thu, 6 Jul 2023 20:21:58 +0000 Subject: [PATCH] Added case for ubuntu and windows Signed-off-by: owaiskazi19 --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a918679f..61783c74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,13 @@ jobs: java-version: ${{ matrix.java }} - name: Build and Test + if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.os == 'windows-latest') }} run: | ./gradlew build - + - name: Build and Test - if: ${{ matrix.os == 'macos-latest' }} - run: | + if: ${{ matrix.os == 'macos-latest' }} + run: | ./gradlew build -D"build.snapshot=true" - name: Publish to Maven Local