Skip to content

Commit 3127303

Browse files
committed
Apply schedule to correct file
1 parent 136f1ad commit 3127303

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/self-hosted-build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ on:
66
branches:
77
- 'integration'
88
- 'release/version*'
9-
- 'self-hosted-runner'
109
pull_request:
1110
paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE', 'microservices/**']
1211
workflow_dispatch:
12+
schedule:
13+
- cron: "0 8,12 * * 1-5"
1314

1415
concurrency:
1516
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -29,7 +30,7 @@ jobs:
2930
# they are committed back to the branch
3031

3132
# Build the code and run the unit tests.
32-
build-and-test-main:
33+
build-and-load-maven-cache:
3334
runs-on: self-hosted
3435
steps:
3536
- name: Checkout Code
@@ -51,9 +52,7 @@ jobs:
5152
- name: Build and Run Unit Tests
5253
run: |
5354
export M2_HOME=/opt/apache-maven-3.9.11/
54-
5555
export M2=$M2_HOME/bin
56-
5756
export PATH=$M2:$PATH
5857
5958
mvn --show-version --batch-mode --errors --no-transfer-progress "-Dstyle.color=always" -Pexamples,assemble,spotbugs -Dmaven.build.cache.enabled=true -Dmaven.build.cache.remote.enabled=true -Dmaven.build.cache.remote.save.enabled=true -Ddeploy -Ddist -T1C clean install -Dsurefire.rerunFailingTestsCount=3 -Dutils -Dservices -Dstarters -DskipITs -DskipFormat

0 commit comments

Comments
 (0)