test: inspect shopware-cli zip internal structure
zip-structure-probe / probe (push) Successful in 45s
zip-structure-probe / probe (push) Successful in 45s
This commit is contained in:
1 parent
20492e8c80
commit
de9c5fac3a
1 file changed
+22
@@ -0,0 +1,22 @@
|
||||
name: zip-structure-probe
|
||||
on:
|
||||
push:
|
||||
branches: [ci/zip-structure-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
|
||||
- name: Package and inspect zip structure
|
||||
run: |
|
||||
shopware-cli extension package . --output-directory .build --filename probe.zip
|
||||
echo "=== zip internal listing ==="
|
||||
unzip -l .build/probe.zip | head -20
|
||||
Reference in new issue
Block a user