2023-07-09 19:57:16 +07:00
|
|
|
# _
|
|
|
|
# __| | __ _ ___
|
|
|
|
# / _` |/ _` |/ _ \
|
|
|
|
# | (_| | (_| | __/
|
|
|
|
# \__,_|\__,_|\___|
|
|
|
|
#
|
|
|
|
# Copyright (C) 2023 @daeuniverse <https://github.com/daeuniverse>
|
|
|
|
#
|
|
|
|
# This is a open-source software, liscensed under the AGPL-3.0 License.
|
|
|
|
# See /License for more information.
|
|
|
|
|
2023-07-11 22:27:30 +07:00
|
|
|
name: Daily Build (Main)
|
2023-07-09 19:34:25 +07:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-07-11 22:27:04 +07:00
|
|
|
# At (UTC+8 0:00 | UTC+0 16:00) every day
|
|
|
|
- cron: "0 16 * * *"
|
2023-07-09 19:34:25 +07:00
|
|
|
|
|
|
|
jobs:
|
2023-07-09 19:57:16 +07:00
|
|
|
pre-actions:
|
|
|
|
uses: daeuniverse/ci-seed-jobs/.github/workflows/pre-actions.yml@master
|
|
|
|
with:
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
ref: ${{ github.sha }}
|
|
|
|
fetch-depth: 0
|
2023-07-16 12:07:10 +07:00
|
|
|
check-runs: '["build", "daily-build-passed"]'
|
2023-07-09 19:57:16 +07:00
|
|
|
secrets: inherit
|
2023-07-09 19:34:25 +07:00
|
|
|
|
2023-07-09 19:57:16 +07:00
|
|
|
build:
|
|
|
|
uses: daeuniverse/dae/.github/workflows/seed-build.yml@main
|
2023-07-15 22:05:05 +07:00
|
|
|
with:
|
|
|
|
ref: ${{ github.sha }}
|
2023-07-16 12:07:10 +07:00
|
|
|
build-type: daily-build
|
|
|
|
|
|
|
|
post-actions:
|
|
|
|
if: always()
|
|
|
|
needs: [build]
|
|
|
|
uses: daeuniverse/ci-seed-jobs/.github/workflows/dae-post-actions.yml@master
|
|
|
|
with:
|
|
|
|
check-run-id: "dae-bot[bot]/daily-build-passed"
|
|
|
|
check-run-conclusion: ${{ needs.build.result }}
|
|
|
|
secrets: inherit
|