fix(ci) : dont run as root
This commit is contained in:
parent
811374782b
commit
4b90c471d2
1 changed files with 4 additions and 1 deletions
5
.github/workflows/aur.yml
vendored
5
.github/workflows/aur.yml
vendored
|
|
@ -12,7 +12,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: makepkg --printsrcinfo > .SRCINFO
|
- run: |
|
||||||
|
useradd -m builder
|
||||||
|
chown -R builder: .
|
||||||
|
su builder -c 'makepkg --printsrcinfo > .SRCINFO'
|
||||||
|
|
||||||
- name: Push to AUR
|
- name: Push to AUR
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue