Skip to content

Commit

Permalink
Kernel build workflow: Work around permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 13, 2023
1 parent b03935a commit c7297d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/lutoma/xelix/toolchain:latest
options: --user 1000

steps:
- name: Adjust dir permissions
run: 'sudo chown dev: /src'

- 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: Run makepkg
run: 'makepkg -Ad --sign'
run: 'sudo -u dev makepkg -Ad --sign'

- name: Adjust package name
run: 'rename x86_64 i786 *'
Expand Down

0 comments on commit c7297d0

Please sign in to comment.