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

View File

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