Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dupondje committed May 26, 2023
1 parent e9c060e commit 7ac7628
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

Expand Down

0 comments on commit 7ac7628

Please sign in to comment.