fix add -y for apt-get

This commit is contained in:
tqcq 2024-04-01 11:14:44 +08:00
parent 03fa2838a8
commit e05928819d

View File

@ -40,8 +40,8 @@ jobs:
- name: install-qemu-build-deps
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install autoconf automake autotools-dev ninja-build
sudo apt-get update -y
sudo apt-get install -y autoconf automake autotools-dev ninja-build
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
@ -64,8 +64,8 @@ jobs:
make install
- name: aarch64-gnu-toolchain
run: |
sudo apt-get update
sudo apt-get install cmake make g++-aarch64-linux-gnu
sudo apt-get update -y
sudo apt-get install -y cmake make g++-aarch64-linux-gnu
- name: build
run: |
mkdir build && cd build
@ -89,8 +89,8 @@ jobs:
- name: install-qemu-build-deps
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install autoconf automake autotools-dev ninja-build
sudo apt-get update -y
sudo apt-get install -y autoconf automake autotools-dev ninja-build
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
@ -113,8 +113,8 @@ jobs:
make install
- name: aarch64-gnu-toolchain
run: |
sudo apt-get update
sudo apt-get install cmake make g++-aarch64-linux-gnu
sudo apt-get update -y
sudo apt-get install -y cmake make g++-aarch64-linux-gnu
- name: build
run: |
mkdir build && cd build
@ -138,8 +138,8 @@ jobs:
- name: install-qemu-build-deps
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install autoconf automake autotools-dev ninja-build
sudo apt-get update -y
sudo apt-get install -y autoconf automake autotools-dev ninja-build
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
@ -162,8 +162,8 @@ jobs:
make install
- name: aarch64-gnu-toolchain
run: |
sudo apt-get update
sudo apt-get install cmake make g++-aarch64-linux-gnu
sudo apt-get update -y
sudo apt-get install -y cmake make g++-aarch64-linux-gnu
- name: build
run: |
mkdir build && cd build