Skip to content

Commit ab968f7

Browse files
committed
Swap to using named steps for the checkout actions, fix incorrect path in the m0+ demo
1 parent 51fe695 commit ab968f7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/kernel-demos.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
{
198198
demo: CORTEX_M0+_RP2040,
199199
demoDirectory: FreeRTOS/Demo,
200-
buildCMD: "git submodule update --checkout --init --depth 1 FreeRTOS/Demo/ThirdParty/Community-Supported-Demos;
200+
buildCMD: "git submodule update --checkout --init --depth 1 ThirdParty/Community-Supported-Demos;
201201
cd ThirdParty/Community-Supported-Demos/CORTEX_M0+_RP2040;
202202
git clone --depth 1 --branch 1.5.1 https://github.com/raspberrypi/pico-sdk.git;
203203
cmake -B build -DPICO_SDK_PATH=pico-sdk -GNinja;
@@ -206,8 +206,7 @@ jobs:
206206
]
207207
runs-on: ubuntu-latest
208208
steps:
209-
- env:
210-
stepName: Checkout ${{env.prUserName}}/FreeRTOS:${{env.prBranchName}} Repository
209+
- name: Checkout ${{ env.prUserName }}/FreeRTOS:${{ env.prBranchName }} Repository
211210
id: checkout-user-fork-and-branch
212211
continue-on-error: true
213212
uses: actions/checkout@v3
@@ -217,8 +216,7 @@ jobs:
217216
repository: '${{ env.prUserName}}/FreeRTOS'
218217
fetch-depth: 1
219218

220-
- env:
221-
stepName: Checkout ${{ env.prUserName }}/FreeRTOS:main Repository
219+
- name: Checkout ${{ env.prUserName }}/FreeRTOS:main Repository
222220
if: ${{ steps.checkout-user-fork-and-branch.outcome }} == 'failure'
223221
id: checkout-user-fork
224222
continue-on-error: true
@@ -229,8 +227,7 @@ jobs:
229227
repository: '${{ env.prUserName }}/FreeRTOS'
230228
fetch-depth: 1
231229

232-
- env:
233-
stepName: Checkout FreeRTOS/FreeRTOS:main Repository
230+
- name: Checkout FreeRTOS/FreeRTOS:main Repository
234231
if: ( ${{ steps.checkout-user-fork.outcome }} == 'failure' )
235232
uses: actions/checkout@v3
236233
with:

0 commit comments

Comments
 (0)