Skip to content

Commit

Permalink
incorporate the ci-gh workflow into build-and-test + ensure all workf…
Browse files Browse the repository at this point in the history
…lows have a name
  • Loading branch information
leofang committed Dec 30, 2024
1 parent 8200c9b commit 89748a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
on: workflow_call
name: "CI: Build and test"

concurrency:
group: ${{ github.workflow }}-${{
github.ref_name == 'main' && format('ci-main-build-test-{0}', github.run_id) ||
format('ci-pr-build-test-on-{0}-against-branch-{1}', github.event_name, github.ref_name)
}}
cancel-in-progress: true

on:
push:
branches:
- "pull-request/[0-9]+"
- "main"

jobs:
build:
Expand Down Expand Up @@ -332,6 +345,6 @@ jobs:
- build
secrets: inherit
uses:
./.github/workflows/gh-build-docs.yml
./.github/workflows/build-docs.yml
with:
build_ctk_ver: ${{ needs.build.outputs.BUILD_CTK_VER }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "CI: Build and update docs"

on:
workflow_call:
inputs:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/ci-gh.yml

This file was deleted.

0 comments on commit 89748a5

Please sign in to comment.