Skip to content

Commit 7826567

Browse files
authored
Update maven-publish.yml
1 parent 95ca9db commit 7826567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727

2828
- name: Build with Maven
29-
run: mvn -B package --file pom.xml
29+
run: xvfb-run mvn -B package --file pom.xml
3030

3131
- name: Publish to GitHub Packages Apache Maven
32-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
32+
run: xvfb-run mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3333
env:
3434
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)