From 47172a4ff70b3298498b2209639598baee1b8e2e Mon Sep 17 00:00:00 2001 From: sushmita Date: Thu, 16 May 2024 15:58:47 +0200 Subject: [PATCH] remove usage of set-output --- .github/workflows/upload-release-asset.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/upload-release-asset.yml b/.github/workflows/upload-release-asset.yml index 31a66f1d..df876496 100644 --- a/.github/workflows/upload-release-asset.yml +++ b/.github/workflows/upload-release-asset.yml @@ -27,10 +27,10 @@ jobs: response=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/releases/latest") upload_url=$(echo "$response" | jq -r '.upload_url' | sed 's/{?name,label}//g') release_id=$(echo "$response" | jq -r '.id') - echo "::set-output name=release_id::$release_id" - echo "::set-output name=upload_url::$upload_url" - echo "Latest Release ID: ${{ steps.get-release-id.outputs.release_id }}" - echo "Latest Release Upload URL: ${{ steps.get-release-upload-url.outputs.upload_url }}" + echo "name=release_id::$release_id" >> $GITHUB_ENV + echo "name=upload_url::$upload_url" >> $GITHUB_ENV + echo "Latest Release ID: ${{ env.release_id }}" + echo "Latest Release Upload URL: ${{ env.upload_url }}" - name: Marketplace Release Artifacts id: marketplace-release-Artifact @@ -42,5 +42,5 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ -H "Content-Type: application/zip" \ - ${{ steps.get-release-upload-url.outputs.upload_url }}?name=AdyenPaymentShopware6.zip \ + ${{ env.upload_url }}?name=AdyenPaymentShopware6.zip \ -F "data=@AdyenPaymentShopware6.zip" \ No newline at end of file