@@ -14,10 +14,11 @@ jobs:
14
14
submodules : ' recursive'
15
15
fetch-depth : 1
16
16
17
- - name : Fetch Kernel Submodule
18
- shell : bash
19
- run : |
20
- git submodule update --checkout --init --depth 1 FreeRTOS/Source
17
+ # Checkout user pull request changes
18
+ - name : Checkout Pull Request
19
+ uses : actions/checkout@v2
20
+ with :
21
+ path : ./FreeRTOS/Source
21
22
22
23
- name : Add msbuild to PATH
23
24
uses : microsoft/setup-msbuild@v1.1
@@ -42,10 +43,11 @@ jobs:
42
43
submodules : ' recursive'
43
44
fetch-depth : 1
44
45
45
- - name : Fetch Kernel Submodule
46
- shell : bash
47
- run : |
48
- git submodule update --checkout --init --depth 1 FreeRTOS/Source
46
+ # Checkout user pull request changes
47
+ - name : Checkout Pull Request
48
+ uses : actions/checkout@v2
49
+ with :
50
+ path : ./FreeRTOS/Source
49
51
50
52
- name : Build WIN32-MingW Demo
51
53
working-directory : FreeRTOS/Demo/WIN32-MingW
66
68
submodules : ' recursive'
67
69
fetch-depth : 1
68
70
69
- - name : Fetch Kernel Submodule
70
- shell : bash
71
- run : git submodule update --checkout --init --depth 1 FreeRTOS/Source
71
+ # Checkout user pull request changes
72
+ - name : Checkout Pull Request
73
+ uses : actions/checkout@v2
74
+ with :
75
+ path : ./FreeRTOS/Source
72
76
73
77
- name : Install GCC
74
78
shell : bash
93
97
submodules : ' recursive'
94
98
fetch-depth : 1
95
99
96
- - name : Fetch Kernel Submodule
97
- shell : bash
98
- run : git submodule update --checkout --init --depth 1 FreeRTOS/Source
100
+ # Checkout user pull request changes
101
+ - name : Checkout Pull Request
102
+ uses : actions/checkout@v2
103
+ with :
104
+ path : ./FreeRTOS/Source
99
105
100
106
- name : Install MSP430 Toolchain
101
107
shell : bash
@@ -120,9 +126,11 @@ jobs:
120
126
submodules : ' recursive'
121
127
fetch-depth : 1
122
128
123
- - name : Fetch Kernel Submodule
124
- shell : bash
125
- run : git submodule update --checkout --init --depth 1 FreeRTOS/Source
129
+ # Checkout user pull request changes
130
+ - name : Checkout Pull Request
131
+ uses : actions/checkout@v2
132
+ with :
133
+ path : ./FreeRTOS/Source
126
134
127
135
- name : Install GNU ARM Toolchain
128
136
shell : bash
0 commit comments