-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·40 lines (37 loc) · 1.71 KB
/
build_on_timing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## Copyright (c) 2017 ~ 2025, the original authors individual Inc,
## All rights reserved. Contact us James Wong <[email protected]>
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
## see:https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
## see:https://github.com/apache/spark/blob/master/.github/workflows/build_main.yml
name: "Build on Timing"
on:
## see:https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
## see:https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
schedule:
- cron: '10 1 * * 0'
jobs:
build-and-test:
permissions:
packages: write
name: Build and test
uses: './.github/workflows/run.yaml' ## This the calling to workflow.
if: github.repository == 'wl4g/rengine'
with:
enable-build: true
enable-deploy: false
enable-build-image-apiserver-tar: false
enable-build-image-apiserver-springjar: false
enable-build-image-controller-tar: false
enable-build-image-controller-springjar: false
enable-build-image-executor-tar: false
enable-build-image-executor-native: false
enable-push-image-dockerhub: false
#enable-push-image-ghcr: false
secrets: ## see:https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-of-jobsjob_idsecrets
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}