Skip to content

Commit 964fe18

Browse files
committed
test composite-if
1 parent b2632b1 commit 964fe18

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/CustomRunnerMWEs.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,32 @@ jobs:
9393

9494
# Supported on actions/runner but not on antmicro/runner
9595

96+
# Conditional Action inside Composite Actions
9697

98+
Supported-CompositeIf-Custom:
99+
container: ubuntu:bionic
100+
runs-on:
101+
- self-hosted
102+
- Linux
103+
- X64
104+
105+
env:
106+
MAX_CORES: 80
107+
GHA_EXTERNAL_DISK: "tools"
108+
GHA_SA: "gh-sa-f4pga-arch-defs-ci"
109+
110+
steps:
111+
112+
- uses: actions/checkout@v3
113+
- uses: ./composite-if
114+
115+
Supported-CompositeIf-Default:
116+
runs-on: ubuntu-latest
117+
118+
steps:
119+
120+
- uses: actions/checkout@v3
121+
- uses: ./composite-if
97122

98123
# Action actions/setup-python
99124

composite-if/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: 'Conditional Action inside Composite Action'
2+
description: 'For testing purposes'
3+
runs:
4+
using: 'composite'
5+
steps:
6+
7+
- uses: actions/checkout@v3
8+
9+
- if: ${{ always() }}
10+
shell: bash
11+
run: echo 'Test'

0 commit comments

Comments
 (0)