Skip to content

Commit

Permalink
Kernel build workflow: Import signing key as correct user
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 13, 2023
1 parent c7297d0 commit a2056fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit a2056fc

Please sign in to comment.