CI: Add '-y' flag to apt command
@@ -25,7 +25,7 @@ jobs:
# Install Java 11 (Ubuntu 22.04 has Java 17 by default)
name: Install OpenJDK 11
command: |
- sudo apt-get update && sudo apt-get install openjdk-11-jdk
+ sudo apt-get update && sudo apt-get install -y openjdk-11-jdk
sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
java -version
