no sudo command in containers

This commit is contained in:
wangyunlai 2023-07-19 10:16:20 +08:00 committed by GitHub
parent 0ee17f1d37
commit e24c943f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,12 +19,12 @@ jobs:
- name: Install ubuntu environment
shell: bash
if: startsWith(${{ matrix.image }}, 'ubuntu')
run: sudo apt-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 libtool-bin
run: apt-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 libtool-bin
- name: Install centos environment
shell: bash
if: startsWith(${{ matrix.image }}, 'centos')
run: sudo yum install -y git wget rpm* cpio make glibc-devel glibc-headers binutils m4
run: yum install -y git wget rpm* cpio make glibc-devel glibc-headers binutils m4
- name: Cache deps
id: cache-deps