Skip to content

Commit

Permalink
[hibernate#1973] Disable schedule cron job for main
Browse files Browse the repository at this point in the history
We don't build with snapshots on main, so there's no need to build it
every hour
  • Loading branch information
DavideD committed Aug 8, 2024
1 parent 6dcb67e commit 6901ce8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ concurrency:
jobs:
run_examples:
name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
if: ( github.event_name == 'schedule' && startsWith( github.ref, 'refs/heads/wip/' ) ) || ( github.event_name != 'schedule' )
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -108,6 +109,7 @@ jobs:

test_dbs:
name: Test with ${{ matrix.db }}
if: ( github.event_name == 'schedule' && startsWith( github.ref, 'refs/heads/wip/' ) ) || ( github.event_name != 'schedule' )
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -147,6 +149,7 @@ jobs:

test_jdks:
name: Test with Java ${{ matrix.java.name }}
if: ( github.event_name == 'schedule' && startsWith( github.ref, 'refs/heads/wip/' ) ) || ( github.event_name != 'schedule' )
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit 6901ce8

Please sign in to comment.