Skip to content

Making changes to release asset yml, passing php version #63

Making changes to release asset yml, passing php version

Making changes to release asset yml, passing php version #63

on:
push:
release:
types: [published]
name: Create and Upload Shopware 6 Marketplace Artifact
jobs:
run:
name: Create and Upload Artifact
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2' # Use 8.3 if preferred
- name: Make script executable
run: chmod +x .github/workflows/scripts/prepare-release-asset.sh
- name: Prepare release artifact
run: .github/workflows/scripts/prepare-release-asset.sh
# Debug step 1: Print the current directory
- name: Print working directory
run: pwd
# Debug step 2: List files in the root directory
- name: List files in the root directory
run: ls -al
# Upload the artifact
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: AdyenPaymentShopware6
path: adyen-shopware6/AdyenPaymentShopware6.zip