Fix check for older branches patches

This commit is contained in:
James Sharpe 2024-11-18 22:01:39 +00:00 committed by GitHub
parent adc5080a91
commit 7a01a7a550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ jobs:
v_minor="$(echo "$ref" | cut -d. -f2)" v_minor="$(echo "$ref" | cut -d. -f2)"
v_patch="$(echo "$ref" | cut -d. -f3)" v_patch="$(echo "$ref" | cut -d. -f3)"
[[ $v_major -gt 10 ]] && exit [[ $v_minor -gt 10 ]] && exit
mkdir -p ${{ github.workspace }}/.github mkdir -p ${{ github.workspace }}/.github
curl https://raw.githubusercontent.com/bazel-contrib/rules_foreign_cc/main/.github/docs-${{ matrix.ref }}.patch > ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch curl https://raw.githubusercontent.com/bazel-contrib/rules_foreign_cc/main/.github/docs-${{ matrix.ref }}.patch > ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch