27 lines
833 B
YAML
27 lines
833 B
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 /tmp/shopware-cli.tar.gz \
|
|
https://github.com/shopware/shopware-cli/releases/latest/download/shopware-cli_Linux_x86_64.tar.gz
|
|
mkdir -p /tmp/swcli-extract
|
|
tar -xzf /tmp/shopware-cli.tar.gz -C /tmp/swcli-extract
|
|
cp /tmp/swcli-extract/shopware-cli /usr/local/bin/shopware-cli
|
|
chmod +x /usr/local/bin/shopware-cli
|
|
shopware-cli --version
|
|
|
|
- name: Package extension (corrected flag)
|
|
run: |
|
|
shopware-cli extension package . --output-directory .build
|
|
echo "=== .build contents ==="
|
|
find .build -maxdepth 3
|