From 545deb67362cc72b9c20868cd2912f535bbbc6ef Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Mon, 26 Feb 2024 18:27:52 +0100 Subject: [PATCH] ci: Fix workflow --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8224c2a..cf889a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,9 +8,11 @@ on: jobs: build: - name: Build with Slurm ${{ matrix.slurm }} + name: Slurm ${{ matrix.slurm }} runs-on: ubuntu-latest - container: ${{ matrix.container }} + container: + image: ${{ matrix.container }} + options: --user root env: SOURCEDIR: ${{ github.workspace }} @@ -33,8 +35,9 @@ jobs: slurm: 23.11 steps: - - name: Install dependencies - run: sudo apt-get install -y cmake ninja-build libslurm-dev + - run: apt-get update -y + + - run: apt-get install -y cmake ninja-build libslurm-dev - uses: actions/checkout@v4