diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 6bceb59d..4dbc0385 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -19,15 +19,15 @@ jobs: image: ghcr.io/lutoma/xelix/toolchain:latest steps: - - name: Import signing key - run: 'echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import' - - name: Download PKGBUILD run: 'wget -q https://raw.githubusercontent.com/lutoma/xelix/main/land/xelix-kernel/PKGBUILD' - name: Adjust dir permissions run: 'sudo chown dev: .' + - name: Import signing key + run: 'echo "${{ secrets.GPG_PRIVATE_KEY }}" | sudo -u dev gpg --import' + - name: Run makepkg run: 'sudo -u dev makepkg -Ad --sign'