diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index af138cf42..62fb3a5da 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -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