Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jherbel committed Nov 8, 2023
1 parent 60e01c1 commit 6d8fa8c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on: [push, pull_request]
on:
workflow_call: {}

jobs:
ci:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
name: "RCC"

on:
push:
paths:
- .github/workflows/rcc.yaml
pull_request:
paths:
- .github/workflows/rcc.yaml
workflow_call: {}

jobs:
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
---
name: "Upload all artifacts"

on:
push:
paths:
- .github/workflows/release.yaml
- .github/workflows/rcc.yaml
- .github/workflows/robotmk.yaml
pull_request:
paths:
- .github/workflows/release.yaml
- .github/workflows/rcc.yaml
- .github/workflows/robotmk.yaml
workflow_call: {}

jobs:
build_rcc:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/robotmk.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
---
name: "Robotmk"

on:
push:
paths:
- .github/workflows/robotmk.yaml
pull_request:
paths:
- .github/workflows/robotmk.yaml
workflow_call: {}

jobs:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: "Run"

on: [push, pull_request]

jobs:
ci:
if: always()
uses: ./.github/workflows/ci.yaml

path_checking:
runs-on: ubuntu-latest
outputs:
path_filters: ${{ steps.filter.outputs }}
steps:
- uses: actions/checkout@v4

- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
robotmk:
- .github/workflows/robotmk.yaml
rcc:
- .github/workflows/rcc.yaml
robotmk:
needs:
- path_checking
if: needs.path_checking.path_filters.robotmk == true
uses: ./.github/workflows/robotmk.yaml

0 comments on commit 6d8fa8c

Please sign in to comment.