From 05575699471c4ba8e233f62f1005814a9afcb3bb Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Thu, 10 Nov 2022 10:39:47 -0700 Subject: [PATCH] ci(actions): migrate to file-based commands Signed-off-by: Bjorn Neergaard --- .github/workflows/.windows.yml | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.windows.yml b/.github/workflows/.windows.yml index 907b286862..bfcfbc1e7b 100644 --- a/.github/workflows/.windows.yml +++ b/.github/workflows/.windows.yml @@ -231,7 +231,7 @@ jobs: # Also prepend ./... to the matrix. This is a special case to run "Test integration" step exclusively. matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} ./...)" matrix="$(echo "$matrix" | jq -c '. |= ["./..."] + .')" - echo "::set-output name=matrix::$matrix" + echo "matrix=$matrix" >> $GITHUB_OUTPUT - name: Show matrix run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31b94a8a87..adbb99702c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,7 +76,7 @@ jobs: id: scripts run: | scripts=$(jq -ncR '[inputs]' <<< "$(ls -I .validate -I all -I default -I dco -I golangci-lint.yml -I yamllint.yaml -A ./hack/validate/)") - echo "::set-output name=matrix::$scripts" + echo "matrix=$scripts" >> $GITHUB_OUTPUT - name: Show matrix run: | @@ -403,7 +403,7 @@ jobs: # Also prepend ./... to the matrix. This is a special case to run "Test integration" step exclusively. matrix="$(gotestlist -d ${{ env.ITG_CLI_MATRIX_SIZE }} ./...)" matrix="$(echo "$matrix" | jq -c '. |= ["./..."] + .')" - echo "::set-output name=matrix::$matrix" + echo "matrix=$matrix" >> $GITHUB_OUTPUT - name: Show matrix run: |