Skip to content

Commit

Permalink
remove usage of set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed May 16, 2024
1 parent 083d0c1 commit 47172a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/upload-release-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 "[email protected]"

0 comments on commit 47172a4

Please sign in to comment.