Skip to content

Commit 7ac7628

Browse files
committed
Fix CI
Add safe directory and follow the suggestion of upload-rpms-action and use main branch. Signed-off-by: Jean-Louis Dupond <[email protected]> Change-Id: I6e36896e26e0e2526366a27ba10abeaee8a40340
1 parent e9c060e commit 7ac7628

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: Checkout sources
3333
uses: ovirt/checkout-action@main
3434

35+
- name: Mark git repo as safe
36+
run: git config --global --add safe.directory $(pwd)
37+
3538
- name: Use cache for maven
3639
uses: actions/cache@v2
3740
with:
@@ -49,7 +52,7 @@ jobs:
4952
.automation/build-rpm.sh $ARTIFACTS_DIR
5053
5154
- name: Upload artifacts
52-
uses: ovirt/upload-rpms-action@v2
55+
uses: ovirt/upload-rpms-action@main
5356
with:
5457
directory: ${{ env.ARTIFACTS_DIR }}
5558

0 commit comments

Comments
 (0)