fix syntax
This commit is contained in:
6
.github/workflows/compile.yml
vendored
6
.github/workflows/compile.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image: ["ubuntu:20.04", "centos:7"]
|
image: ['ubuntu:20.04', 'centos:7']
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ${{ matrix.image }}
|
container: ${{ matrix.image }}
|
||||||
steps:
|
steps:
|
||||||
@ -18,8 +18,8 @@ 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-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 libtool-bin
|
run: 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
|
||||||
|
Reference in New Issue
Block a user