mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:14:59 +07:00
5e32ffe54d
* ci(build,pr-build,seed-build): integrate check runs * ci(pr-build): use reusable workflow for conclusion stage * fix: fix syntax * fix: fix syntax * fix: fix syntax * ci(pr-build): wrap instantiate-check-runs in pre-actions workflow * ci(pr-build): refactor seed workflow ref * fix: fix syntax * fix: fix syntax * ci(pr-build): inherit secret from org * trigger build * trigger build * fix: fix stage dependency * ci(seed-build): add build-type input * refactor(build): rework main-build logic * patch(pr-build): specify build-type param * fix: fix syntax * patch(seed-build): use string type for build-type * fix: fix syntax * refactor(daily-build): rework workflow logic * chore: pin build workflow to @main * ci: test potential bug fix * chore: ready to be merged * patch/chore(daily-build): update default check-run-id --------- Co-authored-by: dae-bot[bot] <136105375+dae-bot[bot]@users.noreply.github.com>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# _
|
|
# __| | __ _ ___
|
|
# / _` |/ _` |/ _ \
|
|
# | (_| | (_| | __/
|
|
# \__,_|\__,_|\___|
|
|
#
|
|
# 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.
|
|
|
|
name: Daily Build (Main)
|
|
|
|
on:
|
|
schedule:
|
|
# At (UTC+8 0:00 | UTC+0 16:00) every day
|
|
- cron: "0 16 * * *"
|
|
|
|
jobs:
|
|
pre-actions:
|
|
uses: daeuniverse/ci-seed-jobs/.github/workflows/pre-actions.yml@master
|
|
with:
|
|
repository: ${{ github.repository }}
|
|
ref: ${{ github.sha }}
|
|
fetch-depth: 0
|
|
check-runs: '["build", "daily-build-passed"]'
|
|
secrets: inherit
|
|
|
|
build:
|
|
uses: daeuniverse/dae/.github/workflows/seed-build.yml@main
|
|
with:
|
|
ref: ${{ github.sha }}
|
|
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
|