diff --git a/.github/workflows/key4hep-build.yaml b/.github/workflows/key4hep-build.yaml index 3f9007f..48960da 100644 --- a/.github/workflows/key4hep-build.yaml +++ b/.github/workflows/key4hep-build.yaml @@ -6,13 +6,19 @@ on: - main pull_request: workflow_dispatch: + schedule: + - cron: '23 4 * * *' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: strategy: matrix: build_type: ["release", "nightly"] - image: ["alma9", "ubuntu22", "centos7"] + image: ["alma9", "ubuntu22"] fail-fast: false runs-on: ubuntu-latest steps: @@ -20,4 +26,4 @@ jobs: - uses: key4hep/key4hep-actions/key4hep-build@main with: build_type: ${{ matrix.build_type }} - image: ${{ matrix.image }} + image: ${{ matrix.image }} \ No newline at end of file