ci: support maven install without sudo
Build / build (push) Failing after 10m58s

This commit is contained in:
dmg
2026-01-29 22:10:58 -05:00
parent 19cec547f7
commit 33929c4122
+5
View File
@@ -24,8 +24,13 @@ jobs:
- name: Install Maven - name: Install Maven
run: | run: |
if ! command -v mvn >/dev/null 2>&1; then if ! command -v mvn >/dev/null 2>&1; then
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update sudo apt-get update
sudo apt-get install -y maven sudo apt-get install -y maven
else
apt-get update
apt-get install -y maven
fi
fi fi
- name: Set up Node - name: Set up Node