Skip to content

Commit 02d7796

Browse files
committed
Fix workflow
1 parent 78930aa commit 02d7796

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/mainline-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,18 @@ jobs:
3636
shell: bash
3737
run: |
3838
if [[ "${{ matrix.image }}" == "debian:stable" ]]; then
39-
apt update && apt install unzip -y
39+
apt update && apt install unzip file -y
4040
elif [[ "${{ matrix.image }}" == "fedora:latest" ]]; then
4141
dnf update -y && dnf install unzip -y
4242
else
4343
pacman -Sy --noconfirm && pacman -S unzip --noconfirm
4444
fi
4545
ls -la artifacts
46+
file artifacts/*.tar.gz
4647
for archive in artifacts/*.tar.gz; do
47-
tar -xpf "$archive" -C / --overwrite
48+
tar -xpf "$subarchive" -C / --overwrite
4849
for f in /opt/hcpu/tests/*; do
4950
[ -f "$f" ] && [ -x "$f" ] && "$f"
5051
done
52+
rm -rf unpacked
5153
done

0 commit comments

Comments
 (0)