mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-10 04:47:25 +07:00

* chore: update workflow title * refactor(pr-build): rename pr_build -> pr-build * ci: add modularity support for build and pr-build * ci(build): add modularity support * ci: add seed-build.yml * fix: update seed-workflow reference * ci: update seed-workflow ref * ci: add modularity support for daily-build
37 lines
1002 B
YAML
37 lines
1002 B
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: PR Build (Preview)
|
|
run-name: "#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }} @${{ github.event.pull_request.head.ref }}:${{ github.event.pull_request.head.sha }}"
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
paths:
|
|
- "**/*.go"
|
|
- "**/*.c"
|
|
- "**/*.h"
|
|
- "go.mod"
|
|
- "go.sum"
|
|
- ".github/workflows/pr-build.yml"
|
|
|
|
jobs:
|
|
pre-actions:
|
|
uses: daeuniverse/ci-seed-jobs/.github/workflows/pre-actions.yml@master
|
|
with:
|
|
repository: ${{ github.repository }}
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
fetch-depth: 0
|
|
secrets: inherit
|
|
|
|
build:
|
|
uses: daeuniverse/dae/.github/workflows/seed-build.yml@main
|