diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a5e4b839f..42c540f44b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,7 @@ concurrency: jobs: run_examples: name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }} + if: github.event.schedule == '' || startsWith( github.ref, 'refs/heads/wip/' ) runs-on: ubuntu-latest strategy: matrix: @@ -90,6 +91,9 @@ jobs: .gradle/wrapper # refresh cache every month to avoid unlimited growth key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }} + - name: Print event + run: | + echo 'Event: ${{ github.event.schedule }}' - name: Set up JDK 11 uses: actions/setup-java@v2.2.0 with: @@ -108,6 +112,7 @@ jobs: test_dbs: name: Test with ${{ matrix.db }} + if: github.event.schedule == '' || startsWith( github.ref, 'refs/heads/wip/' ) runs-on: ubuntu-latest strategy: matrix: @@ -147,6 +152,7 @@ jobs: test_jdks: name: Test with Java ${{ matrix.java.name }} + if: github.event.schedule == '' || startsWith( github.ref, 'refs/heads/wip/' ) runs-on: ubuntu-latest strategy: fail-fast: false