]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
ci: Don't build tools tree as root
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 13 Dec 2024 09:51:33 +0000 (09:51 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 13 Dec 2024 09:51:48 +0000 (09:51 +0000)
.github/workflows/ci.yml

index abd8566f4cc72679fb267ce967366d2910d722f1..f7f024ec99af2fead9215e30e87c80755cd989cf 100644 (file)
@@ -211,12 +211,11 @@ jobs:
       - name: Build tools tree
         run: |
           # TODO: Remove grub2 hack when https://bugzilla.opensuse.org/show_bug.cgi?id=1227464 is resolved.
-          sudo --preserve-env \
-              mkosi \
-              --directory "" \
-              --distribution ${{ matrix.tools }} \
-              --include mkosi-tools \
-              $( [[ ${{ matrix.tools }} == opensuse ]] && echo --package=grub2)
+          mkosi \
+            --directory "" \
+            --distribution ${{ matrix.tools }} \
+            --include mkosi-tools \
+            $( [[ ${{ matrix.tools }} == opensuse ]] && echo --package=grub2)
 
       - name: Run integration tests
         run: |