38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
name: swcli-probe
|
|
on:
|
|
push:
|
|
branches: [ci/shopware-cli-probe]
|
|
|
|
jobs:
|
|
probe:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install shopware-cli
|
|
run: |
|
|
curl -sL -o /usr/local/bin/shopware-cli \
|
|
https://github.com/shopware/shopware-cli/releases/latest/download/shopware-cli-linux-amd64
|
|
chmod +x /usr/local/bin/shopware-cli
|
|
shopware-cli --version
|
|
|
|
- name: Probe extension command help
|
|
run: |
|
|
echo "=== extension --help ==="
|
|
shopware-cli extension --help || true
|
|
echo "=== extension package --help ==="
|
|
shopware-cli extension package --help || true
|
|
echo "=== extension zip --help (check if still a deprecated alias) ==="
|
|
shopware-cli extension zip --help || true
|
|
echo "=== extension validate --help ==="
|
|
shopware-cli extension validate --help || true
|
|
|
|
- name: Try validate against this repo
|
|
run: shopware-cli extension validate . || true
|
|
|
|
- name: Try packaging this repo
|
|
run: |
|
|
shopware-cli extension package . --output .build || true
|
|
echo "=== .build contents ==="
|
|
ls -la .build || true
|