Someone knows if it is possible to use OR operator in needs statement? let's say we expect a successful job-a OR job-b to run job-c, i.e.
name: My workflow
on:
workflow_dispatch:
jobs:
job-a:
runs-on: ubuntu-latest
steps:
- name: do something
run: echo "something"
job-b:
runs-on: ubuntu-latest
steps:
- name: do something
run: echo "something"
job-c:
runs-on: ubuntu-latest
needs:
- job-a OR job-b
steps:
- name: do something
run: echo "something"