Skip to content

Commit 60913c2

Browse files
authored
[Actions] Updating deprecated actions, adding workflow dispatch call (#8)
* Updating actions in Windows build to the newest version * Adding branch restriction back for Windows build
1 parent 6b58022 commit 60913c2

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/Build ThunderOnWindows.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build ThunderOnWindows
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: ["master"]
67
pull_request:
@@ -19,50 +20,52 @@ jobs:
1920
type: [Debug, Release]
2021
version: [64, 86]
2122

23+
# ----- Checkout -----
2224
name: Build type - ${{matrix.type}}${{matrix.version}}
2325
steps:
2426
- name: Checkout ThunderOnWindows
25-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2628
with:
2729
path: ThunderOnWindows
2830
repository: WebPlatformForEmbedded/ThunderOnWindows
2931

3032
- name: Checkout Thunder
31-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3234
with:
3335
path: ThunderOnWindows/Thunder
3436
repository: rdkcentral/Thunder
3537

3638
- name: Checkout ThunderTools
37-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
3840
with:
3941
path: ThunderOnWindows/ThunderTools
4042
repository: rdkcentral/ThunderTools
4143

4244
- name: Checkout ThunderClientLibraries
43-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4446
with:
4547
path: ThunderOnWindows/ThunderClientLibraries
4648
repository: rdkcentral/ThunderClientLibraries
4749

4850
- name: Checkout ThunderInterfaces
49-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5052
with:
5153
path: ThunderOnWindows/ThunderInterfaces
5254
repository: rdkcentral/ThunderInterfaces
5355

5456
- name: Checkout ThunderNanoServices
55-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5658
with:
5759
path: ThunderOnWindows/ThunderNanoServices
5860
repository: rdkcentral/ThunderNanoServices
5961

6062
- name: Checkout ThunderNanoServicesRDK
61-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6264
with:
6365
path: ThunderOnWindows/ThunderNanoServicesRDK
6466
repository: WebPlatformForEmbedded/ThunderNanoServicesRDK
6567

68+
# ----- Install & Build -----
6669
- name: Install jsonref
6770
run: pip install jsonref
6871

@@ -71,12 +74,13 @@ jobs:
7174
run: |
7275
cd ThunderOnWindows
7376
"%devEnv%" /Build "${{matrix.type}}|x${{matrix.version}}" "%solution%"
74-
77+
78+
# ----- Upload artifacts -----
7579
- name: Tar files
7680
run: tar -czvf ${{matrix.type}}${{matrix.version}}.tar.gz artifacts
7781

7882
- name: Upload
79-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8084
with:
8185
name: Thunder-${{matrix.type}}${{matrix.version}}-artifact
8286
path: ${{matrix.type}}${{matrix.version}}.tar.gz

0 commit comments

Comments
 (0)