Update .forgejo/workflows/fortune-mod-alpine.yml
This commit is contained in:
parent
e046841ad0
commit
348be17634
1 changed files with 11 additions and 1 deletions
|
@ -7,4 +7,14 @@ jobs:
|
|||
- name: Setup Alpine
|
||||
uses: https://git.swee.codes/swee/setup-alpine@main
|
||||
with:
|
||||
additional: alpine-sdk
|
||||
additional: alpine-sdk sudo
|
||||
- name: Create user for building
|
||||
run: adduser -D packager && addgroup packager abuild
|
||||
- name: Create sudo rule
|
||||
run: echo 'packager ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/packager
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create keys
|
||||
run: sudo -u packager abuild-keygen -n --append --install
|
||||
- name: Start building
|
||||
run: chown -R packager /workspace && sudo -u packager abuild -r
|
||||
working-directory: ./fortune-mod
|
Loading…
Add table
Reference in a new issue