From 7ac76287d018b072a112a9a1868b7c42f78e521b Mon Sep 17 00:00:00 2001 From: Jean-Louis Dupond Date: Fri, 26 May 2023 14:35:08 +0200 Subject: [PATCH] Fix CI Add safe directory and follow the suggestion of upload-rpms-action and use main branch. Signed-off-by: Jean-Louis Dupond Change-Id: I6e36896e26e0e2526366a27ba10abeaee8a40340 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc6831f8..c53fa7ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,9 @@ jobs: - name: Checkout sources uses: ovirt/checkout-action@main + - name: Mark git repo as safe + run: git config --global --add safe.directory $(pwd) + - name: Use cache for maven uses: actions/cache@v2 with: @@ -49,7 +52,7 @@ jobs: .automation/build-rpm.sh $ARTIFACTS_DIR - name: Upload artifacts - uses: ovirt/upload-rpms-action@v2 + uses: ovirt/upload-rpms-action@main with: directory: ${{ env.ARTIFACTS_DIR }}