Add another user
Add another user to avoid ssh keys being stolen by malicious code
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --needed --noconfirm base-devel git openssh
|
pacman -Syu --needed --noconfirm base-devel git openssh
|
||||||
sed -i '/E_ROOT/d' /usr/bin/makepkg
|
useradd buildbot
|
||||||
|
|
||||||
- name: Import AUR key
|
- name: Import AUR key
|
||||||
run: |
|
run: |
|
||||||
@@ -40,11 +40,11 @@ jobs:
|
|||||||
- name: Makepkg
|
- name: Makepkg
|
||||||
run: |
|
run: |
|
||||||
cd hyfetch
|
cd hyfetch
|
||||||
yes | makepkg -si
|
su buildbot -c "yes | makepkg -si"
|
||||||
|
|
||||||
- name: Test hyfetch
|
- name: Test hyfetch
|
||||||
run: |
|
run: |
|
||||||
hyfetch --test-print
|
su buildbot -c "hyfetch --test-print"
|
||||||
|
|
||||||
- name: Upload binaries to release
|
- name: Upload binaries to release
|
||||||
uses: shogo82148/actions-upload-release-asset@v1
|
uses: shogo82148/actions-upload-release-asset@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user