diff --git a/.github/workflows/main.yml b/.github/workflows/main.txt similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/main.txt diff --git a/.github/workflows/scripts/prepare-release-asset.sh b/.github/workflows/scripts/prepare-release-asset.sh index fa3c6442..7be70654 100755 --- a/.github/workflows/scripts/prepare-release-asset.sh +++ b/.github/workflows/scripts/prepare-release-asset.sh @@ -21,11 +21,11 @@ cp adyen-shopware6/composer.json AdyenPaymentShopware6/. # Zip the plugin directory zip -r AdyenPaymentShopware6.zip AdyenPaymentShopware6/ ; -# Move the zip file to plugin folder -mv AdyenPaymentShopware6.zip adyen-shopware6 - # Cleanup the zip installation zip -d AdyenPaymentShopware6.zip __MACOSX/\* ; zip -d AdyenPaymentShopware6.zip *.git* +# Move the zip file to plugin folder +mv AdyenPaymentShopware6.zip adyen-shopware6 + # Go back to workflow's root directory cd adyen-shopware6 diff --git a/.github/workflows/upload-release-asset.yml b/.github/workflows/upload-release-asset.yml index 22c45144..1f17740f 100644 --- a/.github/workflows/upload-release-asset.yml +++ b/.github/workflows/upload-release-asset.yml @@ -1,6 +1,7 @@ on: - release: - types: [published] + push: +# release: +# types: [published] name: Upload Shopware 6 Marketplace asset @@ -19,4 +20,6 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release upload ${{ github.ref_name }} AdyenPaymentShopware6.zip --clobber + cd .. + ls -l +# gh release upload ${{ github.ref_name }} AdyenPaymentShopware6.zip --clobber