Making changes to release asset yml, passing php version #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
release: | |
types: [published] | |
name: Upload Shopware 6 Marketplace asset | |
jobs: | |
run: | |
name: Upload Release Asset | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2+' | |
- name: Prepare release artifact | |
run: .github/workflows/scripts/prepare-release-asset.sh | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: AdyenPaymentShopware6 | |
path: adyen-shopware6/AdyenPaymentShopware6.zip | |
# - name: Upload asset | |
# env: | |
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# run: | | |
# gh release upload ${{ github.ref_name }} AdyenPaymentShopware6.zip --clobber |