From 432f245140e94e6b1cd68921f09baf2322a1e91b Mon Sep 17 00:00:00 2001 From: extrawurst <776816+extrawurst@users.noreply.github.com> Date: Fri, 5 Dec 2025 23:39:37 -0300 Subject: [PATCH] fix ci (#79) --- .github/workflows/archive_steamos.yml | 10 +++++----- .github/workflows/archive_win.yml | 9 ++++----- .github/workflows/ci.yml | 17 +++++++++++------ .github/workflows/ci_debug.yml | 10 +++++----- .github/workflows/steam_alpha.yml | 11 +++++------ 5 files changed, 30 insertions(+), 27 deletions(-) diff --git a/.github/workflows/archive_steamos.yml b/.github/workflows/archive_steamos.yml index d43a820..5be80e2 100644 --- a/.github/workflows/archive_steamos.yml +++ b/.github/workflows/archive_steamos.yml @@ -15,11 +15,11 @@ jobs: toolchain: stable components: clippy, rustfmt - - name: "Install and cache dependencies (Linux)" - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - version: 1.0 + - name: install linux dependencies + if: runner.os == 'linux' + run: | + sudo apt-get update + sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: Build run: | diff --git a/.github/workflows/archive_win.yml b/.github/workflows/archive_win.yml index 426c2f0..f368c65 100644 --- a/.github/workflows/archive_win.yml +++ b/.github/workflows/archive_win.yml @@ -20,11 +20,10 @@ jobs: run: | which cargo-xwin || cargo install --locked cargo-xwin - - name: "Install and cache dependencies (Windows)" - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: lld clang cmake ninja-build - version: 1.0 + - name: install dependencies + run: | + sudo apt-get update + sudo apt-get install -y lld clang cmake ninja-build - name: Build binaries (Windows) run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb9eb70..eee65b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,13 +22,18 @@ jobs: toolchain: stable components: clippy, rustfmt - - name: "Install and cache dependencies (Linux)" + # - name: "Install and cache dependencies (Linux)" + # if: runner.os == 'linux' + # uses: awalsh128/cache-apt-pkgs-action@latest + # with: + # packages: libasound2-dev libwayland-dev + # version: 2 + # + - name: install linux dependencies if: runner.os == 'linux' - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libasound2-dev libwayland-dev - version: 1 - debug: true + run: | + sudo apt-get update + sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: Formatting run: | diff --git a/.github/workflows/ci_debug.yml b/.github/workflows/ci_debug.yml index 87e5f1c..a590442 100644 --- a/.github/workflows/ci_debug.yml +++ b/.github/workflows/ci_debug.yml @@ -15,11 +15,11 @@ jobs: toolchain: stable components: clippy, rustfmt - - name: "Install and cache dependencies (Linux)" - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - version: 1.0 + - name: install linux dependencies + if: runner.os == 'linux' + run: | + sudo apt-get update + sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: Build client run: | diff --git a/.github/workflows/steam_alpha.yml b/.github/workflows/steam_alpha.yml index 27e251c..4a8c0df 100644 --- a/.github/workflows/steam_alpha.yml +++ b/.github/workflows/steam_alpha.yml @@ -106,7 +106,7 @@ jobs: uses: awalsh128/cache-apt-pkgs-action@latest with: packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - version: 1.0 + version: 2 - uses: leafwing-studios/cargo-cache@v2 with: @@ -189,11 +189,10 @@ jobs: run: | which cargo-xwin || cargo install --locked cargo-xwin - - name: "Install and cache dependencies (Windows)" - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: lld clang cmake ninja-build - version: 1.0 + - name: install dependencies + run: | + sudo apt-get update + sudo apt-get install -y lld clang cmake ninja-build - name: Build binaries (Windows) run: |