test: fix shopware-cli asset name (tar.gz, not raw binary)
swcli-probe / probe (push) Successful in 7s
swcli-probe / probe (push) Successful in 7s
This commit is contained in:
1 parent
98bd874a1d
commit
bc367da2b3
1 file changed
+8
-3
@@ -11,8 +11,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install shopware-cli
|
- name: Install shopware-cli
|
||||||
run: |
|
run: |
|
||||||
curl -sL -o /usr/local/bin/shopware-cli \
|
curl -sL -o /tmp/shopware-cli.tar.gz \
|
||||||
https://github.com/shopware/shopware-cli/releases/latest/download/shopware-cli-linux-amd64
|
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
|
||||||
|
echo "=== extracted contents ==="
|
||||||
|
ls -la /tmp/swcli-extract
|
||||||
|
find /tmp/swcli-extract -type f -name "shopware-cli*" -exec cp {} /usr/local/bin/shopware-cli \;
|
||||||
chmod +x /usr/local/bin/shopware-cli
|
chmod +x /usr/local/bin/shopware-cli
|
||||||
shopware-cli --version
|
shopware-cli --version
|
||||||
|
|
||||||
@@ -34,4 +39,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
shopware-cli extension package . --output .build || true
|
shopware-cli extension package . --output .build || true
|
||||||
echo "=== .build contents ==="
|
echo "=== .build contents ==="
|
||||||
ls -la .build || true
|
find .build -maxdepth 3 || true
|
||||||
Reference in new issue
Block a user