Skip to content

Commit

Permalink
Try to include no white space in the uses branch specify
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Oct 11, 2024
1 parent 1d44c85 commit ed848c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/Build ThunderInterfaces on Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ jobs:
regex_flags: 'gim'
search_string: ${{github.event.pull_request.body}}

- name: Save the output
- name: Save the output in case of a valid regex
if: contains(github.event.pull_request.body, '[ThunderInterfaces-Linux-template:')
run: echo "template=${{steps.ThunderInterfacesLinuxRegex.outputs.first_match}}" >> "$GITHUB_OUTPUT"

- name: Save the output in case of no regex
if: ${{ !contains(github.event.pull_request.body, '[ThunderInterfaces-Linux-template:') }}
run: echo "template=master" >> "$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
uses: rdkcentral/ThunderInterfaces/.github/workflows/Linux build template.yml@${{needs.GetFlags.outputs.template}} # change back to master

ThunderClientLibraries:
needs: ThunderInterfaces
Expand Down

0 comments on commit ed848c8

Please sign in to comment.