workflows: call apt-get without sudo

Workflow scripts run as root in act-runner containers, so calling sudo is redundant and pointless.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
Ophestra Umiker 2024-10-18 22:56:49 +09:00
parent 55bb348d5f
commit 1da845d78b
Signed by: cat
SSH Key Fingerprint: SHA256:vQhTOP4tHcsFb0365dxe6HJBKpv7PZ0KZNFx2AjBnRI
2 changed files with 4 additions and 4 deletions

View File

@ -21,8 +21,8 @@ jobs:
- name: Get dependencies - name: Get dependencies
run: >- run: >-
sudo apt-get update && apt-get update &&
sudo apt-get install -y apt-get install -y
gcc gcc
pkg-config pkg-config
libacl1-dev libacl1-dev

View File

@ -20,8 +20,8 @@ jobs:
- name: Get dependencies - name: Get dependencies
run: >- run: >-
sudo apt-get update && apt-get update &&
sudo apt-get install -y apt-get install -y
gcc gcc
pkg-config pkg-config
libacl1-dev libacl1-dev