Skip to content

Commit

Permalink
Run workflow headless
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranjal-R-Agrawal committed Nov 18, 2023
1 parent b8159f4 commit aedb895
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
distribution: 'temurin'
cache: maven

- name: Maven Set Headless
run: export MAVEN_OPTS="-Djava.awt.headless=true"

- name: Build with Maven
run: java -Djava.awt.headless=true -jar $(which mvn) -B package --file pom.xml
run: mvn -B package --file pom.xml -Djava.awt.headless=true

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
Expand Down

0 comments on commit aedb895

Please sign in to comment.