Skip to content

Commit 6afe96f

Browse files
authored
Adjust the Linux workflows to work on R5.3 (#57)
1 parent a6b4284 commit 6afe96f

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎.github/workflows/Build ThunderLibraries on Linux.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ name: Build ThunderLibraries on Linux
33
on:
44
workflow_dispatch:
55
push:
6-
branches: ["main"]
6+
branches: ["R5_3"]
77
pull_request:
8-
branches: ["main"]
8+
branches: ["R5_3"]
99

1010
jobs:
1111
Thunder:
12-
uses: rdkcentral/Thunder/.github/workflows/Linux build template.yml@master
12+
uses: rdkcentral/Thunder/.github/workflows/Linux build template.yml@R5_3
1313

1414
ThunderLibraries:
1515
needs: Thunder
16-
uses: WebPlatformForEmbedded/ThunderLibraries/.github/workflows/Linux build template.yml@main
16+
uses: ./.github/workflows/Linux build template.yml
17+
with:
18+
thunder_libraries_ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

‎.github/workflows/Linux build template.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Linux build template
22

33
on:
44
workflow_call:
5+
inputs:
6+
thunder_libraries_ref:
7+
required: false
8+
type: string
9+
default: R5_3
510

611
jobs:
712
ThunderLibraries:
@@ -77,6 +82,7 @@ jobs:
7782
with:
7883
path: ThunderLibraries
7984
repository: WebPlatformForEmbedded/ThunderLibraries
85+
ref: ${{ inputs.thunder_libraries_ref }}
8086

8187
- name: Regex ThunderLibraries
8288
if: contains(github.event.pull_request.body, '[Options:')

0 commit comments

Comments
 (0)