Skip to content

Commit

Permalink
Reorganize workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Dec 16, 2024
1 parent 14fe466 commit 6b81a1c
Show file tree
Hide file tree
Showing 6 changed files with 368 additions and 335 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci-branchs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI - Branches

on:
push:
branches:
- '*'
- '!gh-pages'
tags:
- '*'

jobs:
checks:
uses: ./.github/workflows/run-checks.yaml
builds:
needs: checks
uses: ./.github/workflows/run-builds.yaml
secrets: inherit
release:
needs: builds
uses: ./.github/workflows/run-release.yaml
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/ci-prs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI - Pull Requests

on:
pull_request:
branches:
- '*'
- '!gh-pages'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
checks:
uses: ./.github/workflows/run-checks.yml
335 changes: 0 additions & 335 deletions .github/workflows/ci.yaml

This file was deleted.

Loading

0 comments on commit 6b81a1c

Please sign in to comment.