Skip to content

Commit 2a8ed4f

Browse files
committed
Another attempt at pulling user branch and fork
1 parent ab968f7 commit 2a8ed4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/kernel-demos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ jobs:
156156

157157
ARM-GCC:
158158
env:
159-
prBranchName: '${{ github.event.pull_request.base.label }}'
160-
prUserName: '${{ github.event.pull_request.base.user }}'
159+
prBranchName: ${{ github.event.pull_request.base.label }}
160+
prUserName: ${{ github.event.pull_request.base.user }}
161161
name: GNU ARM Toolchain
162162
strategy:
163163
fail-fast: false
@@ -217,7 +217,7 @@ jobs:
217217
fetch-depth: 1
218218

219219
- name: Checkout ${{ env.prUserName }}/FreeRTOS:main Repository
220-
if: ${{ steps.checkout-user-fork-and-branch.outcome }} == 'failure'
220+
if: steps.checkout-user-fork-and-branch.outcome == 'failure'
221221
id: checkout-user-fork
222222
continue-on-error: true
223223
uses: actions/checkout@v3
@@ -228,7 +228,7 @@ jobs:
228228
fetch-depth: 1
229229

230230
- name: Checkout FreeRTOS/FreeRTOS:main Repository
231-
if: ( ${{ steps.checkout-user-fork.outcome }} == 'failure' )
231+
if: steps.checkout-user-fork.outcome == 'failure'
232232
uses: actions/checkout@v3
233233
with:
234234
sparse-checkout: 'FreeRTOS/Demo'

0 commit comments

Comments
 (0)