Skip to content

Commit b72fc7f

Browse files
committed
Git handling in the badge creation job was not handling missing branches correctly.
1 parent 0252da1 commit b72fc7f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,14 @@ jobs:
574574
runs-on: ubuntu-latest
575575
steps:
576576
- uses: actions/checkout@v4
577-
with:
578-
ref: badges
577+
- name: Set up badges branch
578+
run: 'git fetch origin badges || true
579+
580+
git checkout badges || git checkout --orphan badges
581+
582+
mkdir -p status
583+
584+
rm -rf .github tests src include docs scripts docker build toolchains'
579585
- name: Set up directory
580586
run: mkdir -p status
581587
- name: Generate badge for x86_64-pc-windows-msvc

0 commit comments

Comments
 (0)