Merge pull request #9876 from zvonkok/gha-no-sudo-s390x

ci: remove sudo from s390x build
This commit is contained in:
Fabiano Fidêncio
2024-06-21 15:00:31 +02:00
committed by GitHub

View File

@@ -67,8 +67,7 @@ jobs:
make "${KATA_ASSET}-tarball"
build_dir=$(readlink -f build)
# store-artifact does not work with symlink
sudo cp -r "${build_dir}" "kata-build"
sudo chown -R $(id -u):$(id -g) "kata-build"
mkdir -p kata-build && cp "${build_dir}"/kata-static-${KATA_ASSET}*.tar.* kata-build/.
env:
KATA_ASSET: ${{ matrix.asset }}
TAR_OUTPUT: ${{ matrix.asset }}.tar.gz