From 4c1e63d1d3bdb31cb2c5924ef04c2fff2dd0f30b Mon Sep 17 00:00:00 2001 From: Ved-s Date: Sat, 11 May 2024 23:25:39 +1100 Subject: [PATCH] add sudo apt update to ci --- .github/workflows/rust-build-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-build-deploy.yml b/.github/workflows/rust-build-deploy.yml index a4ba913..9ec5780 100644 --- a/.github/workflows/rust-build-deploy.yml +++ b/.github/workflows/rust-build-deploy.yml @@ -22,7 +22,7 @@ jobs: run: rustup default stable && rustup target add x86_64-unknown-linux-gnu - name: Install libraries - run: sudo apt install libatk1.0-dev libgtk-3-dev -y + run: sudo apt update && sudo apt install libatk1.0-dev libgtk-3-dev -y - name: Build run: cargo build --target x86_64-unknown-linux-gnu --release @@ -42,7 +42,7 @@ jobs: run: rustup default stable && rustup target add x86_64-pc-windows-gnu - name: Install gcc - run: sudo apt install gcc-mingw-w64-x86-64 -y + run: sudo apt update && sudo apt install gcc-mingw-w64-x86-64 -y - name: Build run: cargo build --target x86_64-pc-windows-gnu --release