Compare commits

..

2 Commits

Author SHA1 Message Date
Steev
a716f1743e Merge pull request 'avoiding sudo in workflow' (#6) from main into Release
Some checks failed
Build and Release Minecraft Plugin / build (push) Failing after 49s
Build and Release Minecraft Plugin / release (push) Has been skipped
Reviewed-on: #6
2023-10-03 18:56:06 +02:00
16264e8ad0 avoiding sudo in workflow 2023-10-03 18:55:33 +02:00

View File

@ -18,7 +18,12 @@ jobs:
distribution: 'adopt' # Verwenden Sie 'adopt' für Java 17 distribution: 'adopt' # Verwenden Sie 'adopt' für Java 17
- name: Install Maven - name: Install Maven
run: sudo apt-get install -y maven run: |
curl -O https://apache.mirror.digitalpacific.com.au/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz
tar -xf apache-maven-3.8.4-bin.tar.gz
sudo mv apache-maven-3.8.4 /opt/maven
sudo ln -s /opt/maven/bin/mvn /usr/local/bin/mvn
rm apache-maven-3.8.4-bin.tar.gz
- name: Build with Maven - name: Build with Maven
run: mvn clean install run: mvn clean install