Skip to content

Commit

Permalink
Go back to old method
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed May 17, 2024
1 parent 8ec2c28 commit b6e707d
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/upload-release-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,22 @@ jobs:
echo "Latest Release Upload URL: ${{ steps.get-release-info.outputs.upload_url }}"
echo "Latest Release Tag name: ${{ steps.get-release-info.outputs.tag_name }}"
# - name: Marketplace Release Artifacts
# id: marketplace-release-Artifact
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# ls -l
# gh api \
# --method POST \
# -H "Accept: application/vnd.github+json" \
# -H "X-GitHub-Api-Version: 2022-11-28" \
# ${{ steps.get-release-upload-url.outputs.upload_url }}?name=AdyenPaymentShopware6.zip \
- name: Marketplace Release Artifacts
id: marketplace-release-Artifact
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
ls -l
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/zip" \
--data-binary "@AdyenPaymentShopware6.zip" \
${{ steps.get-release-upload-url.outputs.upload_url }}?name=AdyenPaymentShopware6.zip \
# -f "[email protected]"


- name: Upload asset
run: |
gh release upload ${{ steps.get-release-info.outputs.tag_name }} AdyenPaymentShopware6.zip --content-type "application/zip"
#
# - name: Upload asset
# run: |
# gh release upload ${{ steps.get-release-info.outputs.tag_name }} AdyenPaymentShopware6.zip --content-type "application/zip"

0 comments on commit b6e707d

Please sign in to comment.