From 77c13e4c06288dd475c77d96ce487ffc35739c43 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Fri, 18 Nov 2022 14:54:27 +0000 Subject: [PATCH] chore: removing usage of set-output in ci --- .github/workflows/e2e-compatibility-workflow-call.yaml | 2 +- .github/workflows/e2e-compatibility.yaml | 2 +- .github/workflows/e2e-fork.yml | 2 +- .github/workflows/e2e-test-workflow-call.yml | 2 +- .github/workflows/e2e.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-compatibility-workflow-call.yaml b/.github/workflows/e2e-compatibility-workflow-call.yaml index 2c141c5b028..93f1372f0ca 100644 --- a/.github/workflows/e2e-compatibility-workflow-call.yaml +++ b/.github/workflows/e2e-compatibility-workflow-call.yaml @@ -23,7 +23,7 @@ jobs: # to create the matrix in the following job. test_matrix="$(cat .github/compatibility-test-matrices/${{ inputs.test-file-directory }}/${{ inputs.test-suite }}.json | jq -c)" echo $test_matrix - echo "::set-output name=test-matrix::$test_matrix" + echo "test-matrix=$test_matrix" >> $GITHUB_OUTPUT id: set-test-matrix e2e: diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml index 950ed677cd0..058a372c1f3 100644 --- a/.github/workflows/e2e-compatibility.yaml +++ b/.github/workflows/e2e-compatibility.yaml @@ -30,7 +30,7 @@ jobs: - run: | test_dir="$(echo $RELEASE_BRANCH | sed 's/\//-/')" echo $test_dir - echo "::set-output name=test-directory::$test_dir" + echo "test-directory=$test_dir" >> $GITHUB_OUTPUT id: set-test-dir # build-release-images builds all docker images that are relevant for the compatibility tests. If a single release diff --git a/.github/workflows/e2e-fork.yml b/.github/workflows/e2e-fork.yml index 827fee02250..ea14e3a6dd7 100644 --- a/.github/workflows/e2e-fork.yml +++ b/.github/workflows/e2e-fork.yml @@ -22,7 +22,7 @@ jobs: with: go-version: 1.18 - id: set-matrix - run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)" + run: echo "matrix=$(go run cmd/build_test_matrix/main.go)" >> $GITHUB_OUTPUT env: TEST_EXCLUSIONS: "TestInterTxTestSuite,TestIncentivizedInterTxTestSuite,TestUpgradeTestSuite" diff --git a/.github/workflows/e2e-test-workflow-call.yml b/.github/workflows/e2e-test-workflow-call.yml index 7838fb5178c..31713b30035 100644 --- a/.github/workflows/e2e-test-workflow-call.yml +++ b/.github/workflows/e2e-test-workflow-call.yml @@ -102,7 +102,7 @@ jobs: with: go-version: 1.18 - id: set-matrix - run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)" + run: echo "matrix=$(go run cmd/build_test_matrix/main.go)" >> $GITHUB_OUTPUT env: TEST_ENTRYPOINT: "${{ inputs.test-entry-point }}" TEST_EXCLUSIONS: "${{ inputs.test-exclusions }}" diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 28014abf2fa..ebd46c1357e 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -33,7 +33,7 @@ jobs: run: | tag=$(go run cmd/determine_simd_tag/main.go -pr "${{ github.event.pull_request.number }}" ) echo "Using tag $tag" - echo "::set-output name=simd-tag::$tag" + echo "simd-tag=$tag" >> $GITHUB_OUTPUT e2e: if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} needs: