diff --git a/.github/workflows/custom-board-build.yml b/.github/workflows/custom-board-build.yml index 3c9c6181f5e59..ea2c0c994a864 100644 --- a/.github/workflows/custom-board-build.yml +++ b/.github/workflows/custom-board-build.yml @@ -52,7 +52,7 @@ jobs: - name: branch compatibility if: inputs.branch != '' run: | - git checkout fork-branch fork/${{inputs.branch}} + git checkout -b fork-branch fork/${{inputs.branch}} - name: Set up identifier if: inputs.debug || inputs.flags != '' run: |