From b5085fbe6cd6c1120324383abf4ffd3a6ac42d4c Mon Sep 17 00:00:00 2001 From: Sik Date: Fri, 2 Aug 2024 15:10:47 +0200 Subject: [PATCH] fix(ci): fixed workflow for accepting ping --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39ed35..409c6e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,9 @@ jobs: - name: Restore dependencies run: dotnet restore + - name: Grant network capabilities + run: sudo setcap cap_net_raw=ep /usr/bin/ping + - name: Build run: dotnet build --no-restore