run update before install ops

This commit is contained in:
wangyunlai 2023-07-19 10:30:44 +08:00 committed by GitHub
parent 836ab515f3
commit ce878f671a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,11 +19,13 @@ jobs:
- name: Install ubuntu environment
shell: bash
if: ${{ startsWith(matrix.image, 'ubuntu') }}
run: apt install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 libtool-bin
run: |
apt upadte
apt 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')
if: ${{ startsWith(matrix.image, 'centos') }}
run: yum install -y git wget rpm* cpio make glibc-devel glibc-headers binutils m4
- name: Cache deps