diff --git a/.github/workflows/CustomRunnerMWEs.yml b/.github/workflows/CustomRunnerMWEs.yml index 419fa80516..9bf8247dcd 100644 --- a/.github/workflows/CustomRunnerMWEs.yml +++ b/.github/workflows/CustomRunnerMWEs.yml @@ -93,7 +93,32 @@ jobs: # Supported on actions/runner but not on antmicro/runner + # Conditional Action inside Composite Actions + Supported-CompositeIf-Custom: + container: ubuntu:bionic + runs-on: + - self-hosted + - Linux + - X64 + + env: + MAX_CORES: 80 + GHA_EXTERNAL_DISK: "tools" + GHA_SA: "gh-sa-f4pga-arch-defs-ci" + + steps: + + - uses: actions/checkout@v3 + - uses: ./composite-if + + Supported-CompositeIf-Default: + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v3 + - uses: ./composite-if # Action actions/setup-python diff --git a/composite-if/action.yml b/composite-if/action.yml new file mode 100644 index 0000000000..8dd4f8edc9 --- /dev/null +++ b/composite-if/action.yml @@ -0,0 +1,11 @@ +name: 'Conditional Action inside Composite Action' +description: 'For testing purposes' +runs: + using: 'composite' + steps: + + - uses: actions/checkout@v3 + + - if: ${{ always() }} + shell: bash + run: echo 'Test'