Run maven steps as sudo
This commit is contained in:
parent
9225e0121b
commit
f8212ff7c9
|
@ -23,6 +23,6 @@ jobs:
|
||||||
java-version: '16'
|
java-version: '16'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
- name: Install with Maven
|
- name: Install with Maven
|
||||||
run: mvn -B install --file pom.xml
|
run: sudo mvn -B install --file pom.xml
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: sudo mvn -B package --file pom.xml
|
||||||
|
|
Loading…
Reference in New Issue