Meta: Use sudo to unpack wabt package in CI

The self-hosted runner doesn't run the commands as root.
This commit is contained in:
Ali Mohammad Pur 2022-03-17 23:10:18 +03:30
parent 01d506a953
commit 83883bf3cb
Notes: sideshowbarker 2024-07-17 17:14:54 +09:00

View File

@ -53,7 +53,8 @@ jobs:
test -e /opt/wabt-1.0.27 || (
cd /tmp
wget https://github.com/WebAssembly/wabt/releases/download/1.0.27/wabt-1.0.27-ubuntu.tar.gz
tar xf wabt-1.0.27-ubuntu.tar.gz -C /opt
sudo tar xf wabt-1.0.27-ubuntu.tar.gz -C /opt
rm wabt-1.0.27-ubuntu.tar.gz
)
- name: Setup Python