From af14bf6fbdd77cee49f17f959a1f94e418908336 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Sat, 18 Mar 2023 16:36:29 +0900 Subject: [PATCH] :seedling: Replace deprecated command with environment file (#3298) --- .github/workflows/apidiff.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/unit-tests.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/apidiff.yml b/.github/workflows/apidiff.yml index ae83a9a1446..7a68d91e7e0 100644 --- a/.github/workflows/apidiff.yml +++ b/.github/workflows/apidiff.yml @@ -21,7 +21,7 @@ jobs: run: | REF="HEAD^" [[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2) - echo "::set-output name=skip::$(test/check-docs-only.sh $REF)" + echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT go-apidiff: name: Verify API differences diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 10b00f3ee22..976df9937ca 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,7 @@ jobs: run: | REF="HEAD^" [[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2) - echo "::set-output name=skip::$(test/check-docs-only.sh $REF)" + echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT lint: name: golangci-lint @@ -56,4 +56,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run yamllint make target - run: make yamllint \ No newline at end of file + run: make yamllint diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index d1f4edc3917..f2d079a2cc5 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,7 +21,7 @@ jobs: run: | REF="HEAD^" [[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2) - echo "::set-output name=skip::$(test/check-docs-only.sh $REF)" + echo "skip=$(test/check-docs-only.sh $REF)" >> $GITHUB_OUTPUT test: name: ${{ matrix.os }}