From: Daan De Meyer Date: Fri, 13 Dec 2024 09:51:33 +0000 (+0000) Subject: ci: Don't build tools tree as root X-Git-Tag: v25~115^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16b1599dd81e259dda1aa40e52312042fc48dc6d;p=thirdparty%2Fmkosi.git ci: Don't build tools tree as root --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abd8566f4..f7f024ec9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |