From f609ad106d275fb297b310f8c1036a88399c4a94 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 18 Jan 2023 23:02:09 +1100 Subject: [PATCH] Update cmake.yml sudo please work --- .github/workflows/cmake.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 0bdb42c..15ce30d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,8 +20,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install library dependencies - run: sudo apt-get install -y sdl2-dev + - uses: ConorMacBride/install-package@v1 + with: + apt: libsdl2-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.