Skip to content

Commit

Permalink
test composite-if
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Oct 27, 2022
1 parent b2632b1 commit 964fe18
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/CustomRunnerMWEs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 11 additions & 0 deletions composite-if/action.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 964fe18

Please sign in to comment.