From c695fef0c0509cdf28161d639f3983b2d8812162 Mon Sep 17 00:00:00 2001 From: jongwooo Date: Sun, 1 Oct 2023 20:29:14 +0900 Subject: [PATCH] Replace deprecated command with environment file Signed-off-by: jongwooo --- .github/workflows/image-arm.yaml | 4 ++-- .github/workflows/image.yaml | 4 ++-- .github/workflows/release-arm.yaml | 4 ++-- .github/workflows/release.yaml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/image-arm.yaml b/.github/workflows/image-arm.yaml index 489df5353..5b790e338 100644 --- a/.github/workflows/image-arm.yaml +++ b/.github/workflows/image-arm.yaml @@ -28,7 +28,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT # The matrix for standard (provider) images get-standard-matrix: @@ -55,7 +55,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT build-arm-core: uses: ./.github/workflows/reusable-docker-arm-build.yaml diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index c1c6d7aae..b84bdf5d5 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -31,7 +31,7 @@ jobs: content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT get-framework-matrix: runs-on: ubuntu-latest @@ -51,7 +51,7 @@ jobs: content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT core: uses: ./.github/workflows/reusable-build-flavor.yaml diff --git a/.github/workflows/release-arm.yaml b/.github/workflows/release-arm.yaml index 86aa174a0..ecd13bed5 100644 --- a/.github/workflows/release-arm.yaml +++ b/.github/workflows/release-arm.yaml @@ -20,7 +20,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT # The matrix for standard (provider) images get-standard-matrix: @@ -47,7 +47,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT build-arm-core: runs-on: ${{ matrix.worker }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3a5fab151..586fc7f76 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT # The matrix for standard (provider) images get-standard-matrix: @@ -52,7 +52,7 @@ jobs: content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT get-framework-matrix: runs-on: ubuntu-latest @@ -70,7 +70,7 @@ jobs: content="${content//$'\n'/'%0A'}" content="${content//$'\r'/'%0D'}" # end of optional handling for multi line json - echo "::set-output name=matrix::{\"include\": $content }" + echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT build-framework: runs-on: kvm