From 684df0fe560268bd90506d4672babf9864df021d Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 3 Dec 2024 14:46:09 +0300 Subject: [PATCH] unshare fix --- .github/workflows/offline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/offline.yml b/.github/workflows/offline.yml index d4a2aaba15..5a453a85a4 100644 --- a/.github/workflows/offline.yml +++ b/.github/workflows/offline.yml @@ -44,4 +44,4 @@ jobs: key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-jdk-${{ matrix.java }}-maven- - run: mvn clean install --errors --batch-mode -DskipTests -DskipITs - - run: sudo unshare --net --ipc -r /bin/bash -c 'mvn clean install --errors --batch-mode' + - run: sudo unshare --net --map-root-user /bin/bash -c 'mvn clean install --errors --batch-mode'