Skip to content

Commit af14bf6

Browse files
authored
🌱 Replace deprecated command with environment file (#3298)
1 parent e7009f5 commit af14bf6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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 "::set-output name=skip::$(test/check-docs-only.sh $REF)"
24+
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
2525
2626
go-apidiff:
2727
name: Verify API differences

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
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 "::set-output name=skip::$(test/check-docs-only.sh $REF)"
24+
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
2525
2626
lint:
2727
name: golangci-lint
@@ -56,4 +56,4 @@ jobs:
5656
steps:
5757
- uses: actions/checkout@v3
5858
- name: Run yamllint make target
59-
run: make yamllint
59+
run: make yamllint

.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 "::set-output name=skip::$(test/check-docs-only.sh $REF)"
24+
echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT
2525
2626
test:
2727
name: ${{ matrix.os }}

0 commit comments

Comments
 (0)