Try without the nested conditions #335
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ThunderInterfaces on Linux | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["master"] | ||
jobs: | ||
GetFlags: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
template: ${{ steps.ThunderInterfacesLinux.outputs.template }} | ||
name: Get Actions related flags from the PR | ||
steps: | ||
- name: Regex ThunderInterfaces | ||
if: contains(github.event.pull_request.body, '[ThunderInterfaces-Linux-template:') | ||
id: ThunderInterfacesLinuxRegex | ||
uses: AsasInnab/regex-action@v1 | ||
with: | ||
regex_pattern: '(?<=\[ThunderInterfaces-Linux-template:).*(?=\])' | ||
regex_flags: 'gim' | ||
search_string: ${{github.event.pull_request.body}} | ||
- name: Save the output | ||
if: contains(github.event.pull_request.body, '[ThunderInterfaces-Linux-template:') | ||
run: echo "template=${{steps.ThunderInterfacesLinuxRegex.outputs.first_match}}" >> "$GITHUB_OUTPUT" | ||
Thunder: | ||
uses: rdkcentral/Thunder/.github/workflows/Linux build template.yml@development/actions-pep668-error # change back to master | ||
ThunderInterfaces: | ||
needs: [Thunder, GetFlags] | ||
uses: rdkcentral/ThunderInterfaces/.github/workflows/Linux build template.yml@${{ needs.GetFlags.outputs.template != '' && needs.GetFlags.outputs.template || 'master' }} # change back to master | ||
Check failure on line 37 in .github/workflows/Build ThunderInterfaces on Linux.yml GitHub Actions / .github/workflows/Build ThunderInterfaces on Linux.ymlInvalid workflow file
|
||
ThunderClientLibraries: | ||
needs: ThunderInterfaces | ||
uses: rdkcentral/ThunderClientLibraries/.github/workflows/Linux build template.yml@master | ||
ThunderNanoServices: | ||
needs: ThunderInterfaces | ||
uses: rdkcentral/ThunderNanoServices/.github/workflows/Linux build template.yml@master | ||
ThunderNanoServicesRDK: | ||
needs: ThunderInterfaces | ||
uses: WebPlatformForEmbedded/ThunderNanoServicesRDK/.github/workflows/Linux build template.yml@master |