Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBeskrovnyi committed Oct 11, 2019
1 parent 2405457 commit 4168a34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [push]

jobs:
build:
before_install:
- "export DISPLAY=:99.0"

runs-on: ubuntu-latest

Expand All @@ -13,5 +15,7 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: export display
run: export DISPLAY=:99.0
- name: Build with Maven
run: export DISPLAY=:99.0; mvn package --file pom.xml
run: mvn package --file pom.xml

0 comments on commit 4168a34

Please sign in to comment.