Skip to content

Commit 7a01a7a

Browse files
author
James Sharpe
authored
Fix check for older branches patches
1 parent adc5080 commit 7a01a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
v_minor="$(echo "$ref" | cut -d. -f2)"
5353
v_patch="$(echo "$ref" | cut -d. -f3)"
5454
55-
[[ $v_major -gt 10 ]] && exit
55+
[[ $v_minor -gt 10 ]] && exit
5656
5757
mkdir -p ${{ github.workspace }}/.github
5858
curl https://raw.githubusercontent.com/bazel-contrib/rules_foreign_cc/main/.github/docs-${{ matrix.ref }}.patch > ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch

0 commit comments

Comments
 (0)