run update before install ops
This commit is contained in:
6
.github/workflows/compile.yml
vendored
6
.github/workflows/compile.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user