From c01f6cd44d9179439b339a559a79799033fac64c Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 3 Mar 2022 10:54:21 +0100 Subject: [PATCH] Run 'apt update' before 'apt install' in the CI to fix some 404 --- .github/workflows/build.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fd92a2950..cda7f440f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,8 @@ jobs: uses: actions/checkout@v2 - name: Installing the musl runtime run: | - sudo apt install musl-tools + sudo apt-get --assume-yes update + sudo apt install --assume-yes musl-tools - name: Building static r2 with acr run: | cp -f dist/plugins-cfg/plugins.static.nogpl.cfg plugins.cfg @@ -65,6 +66,7 @@ jobs: uses: actions/checkout@v2 - name: Packaging for 32bit Debian run: | + sudo apt --assume-yes update sudo apt install gcc-multilib gperf export CFLAGS=-m32 export LDFLAGS=-m32 @@ -211,7 +213,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install dependencies - run: sudo apt-get --assume-yes install pax wget gperf cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja + run: | + sudo apt-get --assume-yes update + sudo apt-get --assume-yes install pax wget gperf cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja - name: Compile with acr run: | sys/android-ndk-install.sh @@ -230,7 +234,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install dependencies - run: sudo apt-get --assume-yes install pax wget gperf cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja + run: | + sudo apt-get --assume-yes update + sudo apt-get --assume-yes install pax wget gperf cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja - name: Compile with acr run: | sys/android-ndk-install.sh 16 arm @@ -252,7 +258,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install dependencies - run: sudo apt-get --assume-yes install pax wget cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja + run: | + sudo apt-get --assume-yes update + sudo apt-get --assume-yes install pax wget cabextract unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja - name: Compile with meson run: | export PATH=${HOME}/.local/bin:${PATH}