Compare commits

...

2 Commits

Author SHA1 Message Date
Steev
b77b84ed49 Merge pull request 'attemp to fix workflow without using sudo in apt commands' (#8) from main into Release
Some checks reported warnings
Build and Release Minecraft Plugin / release (push) Has been cancelled
Build and Release Minecraft Plugin / build (push) Has been cancelled
Reviewed-on: #8
2023-10-03 19:02:42 +02:00
3da3741371 attemp to fix workflow without using sudo in apt commands 2023-10-03 19:02:23 +02:00

View File

@ -21,7 +21,12 @@ jobs:
run: apt-get install --reinstall ca-certificates
- name: Install Maven
run: apt-get install -y maven
run: |
curl -O https://www-us.apache.org/dist/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
run: mvn clean install