From 9879cad85a98df6e22613e74978f8c407dc7d553 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Arcos Date: Thu, 19 Oct 2023 13:57:33 +0200 Subject: [PATCH] ci: Avoid using set-output (#245) --- .github/workflows/build-aarch64-apple-darwin.yaml | 2 +- .github/workflows/build-aarch64-unknown-linux-gnu.yaml | 2 +- .github/workflows/build-rust-src.yaml | 2 +- .github/workflows/build-x86_64-apple-darwin.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-gnu.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-msvc.yaml | 2 +- .github/workflows/build-x86_64-unknown-linux-gnu.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-aarch64-apple-darwin.yaml b/.github/workflows/build-aarch64-apple-darwin.yaml index 54b2ca2..5af326b 100644 --- a/.github/workflows/build-aarch64-apple-darwin.yaml +++ b/.github/workflows/build-aarch64-apple-darwin.yaml @@ -29,7 +29,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml index 716f589..b045f00 100644 --- a/.github/workflows/build-aarch64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-aarch64-unknown-linux-gnu.yaml @@ -29,7 +29,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-rust-src.yaml b/.github/workflows/build-rust-src.yaml index 30ea1a6..b1dc1ca 100644 --- a/.github/workflows/build-rust-src.yaml +++ b/.github/workflows/build-rust-src.yaml @@ -29,7 +29,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index d0ceed8..47ab9d2 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -28,7 +28,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-x86_64-pc-windows-gnu.yaml b/.github/workflows/build-x86_64-pc-windows-gnu.yaml index 99110e6..42bc506 100644 --- a/.github/workflows/build-x86_64-pc-windows-gnu.yaml +++ b/.github/workflows/build-x86_64-pc-windows-gnu.yaml @@ -29,7 +29,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-x86_64-pc-windows-msvc.yaml b/.github/workflows/build-x86_64-pc-windows-msvc.yaml index 46c071b..e383786 100644 --- a/.github/workflows/build-x86_64-pc-windows-msvc.yaml +++ b/.github/workflows/build-x86_64-pc-windows-msvc.yaml @@ -29,7 +29,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }} diff --git a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml index c74d50a..6331ffd 100644 --- a/.github/workflows/build-x86_64-unknown-linux-gnu.yaml +++ b/.github/workflows/build-x86_64-unknown-linux-gnu.yaml @@ -28,7 +28,7 @@ jobs: id: get_upload_url run: | url=$(echo "$response" | jq -r '.upload_url') - echo "::set-output name=url::$url" + echo "url=$url" >> $GITHUB_OUTPUT env: response: ${{ steps.get_release.outputs.data }}