Skip to content

Commit cd2a493

Browse files
🌱 [ci] : fix the issue with [CI] doc check being cancelled instead of being skipped (#3319)
1 parent 1ab1f16 commit cd2a493

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎.github/workflows/apidiff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
REF="HEAD^"
2323
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
24+
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
2525
2626
go-apidiff:
2727
name: Verify API differences

‎.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
REF="HEAD^"
2323
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
24+
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
2525
2626
lint:
2727
name: golangci-lint

‎.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
REF="HEAD^"
2323
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
24+
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
2525
2626
test:
2727
name: ${{ matrix.os }}

0 commit comments

Comments
 (0)