From 6ddd772a4b46541bfc7e1782d627da08d0f439c4 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Fri, 10 Nov 2023 16:56:50 +0100 Subject: [PATCH] Mark directory as 'safe' --- .github/workflows/Release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index d742ee291..0d90c1185 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -55,7 +55,9 @@ jobs: - name: RPM build LIKWID id: rpmbuild - run: make RPM + run: | + git config --add safe.directory $(pwd) + make RPM # AlmaLinux 8.5 is a derivate of RedHat Enterprise Linux 8 (UBI8), # so the created RPM both contain the substring 'el8' in the RPM file names @@ -130,7 +132,9 @@ jobs: - name: RPM build LIKWID id: rpmbuild - run: make RPM + run: | + git config --add safe.directory $(pwd) + make RPM # See: https://github.com/actions/upload-artifact - name: Save RPM as artifact