From f8212ff7c97fcb28de661900c7f1226844f719f7 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 8 Jul 2021 19:14:52 -0400 Subject: [PATCH] Run maven steps as sudo --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8645797..a521fab 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -23,6 +23,6 @@ jobs: java-version: '16' distribution: 'adopt' - name: Install with Maven - run: mvn -B install --file pom.xml + run: sudo mvn -B install --file pom.xml - name: Build with Maven - run: mvn -B package --file pom.xml + run: sudo mvn -B package --file pom.xml