From 45e9c2766fad24e87f0470cede96f462fcb658a0 Mon Sep 17 00:00:00 2001 From: Cekis Date: Sun, 11 Oct 2020 15:00:09 -0700 Subject: [PATCH] Update ant.yml --- .github/workflows/ant.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 766f7a5b9..5fd7b17c0 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -10,15 +10,19 @@ on: branches: [ master ] jobs: - build: - + build: runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 1.11 - uses: actions/setup-java@v1 - with: - java-version: '11.0.2' - - name: Build with Ant - run: ant -noinput -buildfile build.xml swg-ci + + rules: + - exists: + - sku.0/*.java + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.11 + uses: actions/setup-java@v1 + with: + java-version: '11.0.2' + - name: Build with Ant + run: ant -noinput -buildfile build.xml compile_java +