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 +