Skip to content

Commit 49a8d10

Browse files
committed
different headless approach
1 parent b14cfb9 commit 49a8d10

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/site.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,15 @@ jobs:
3737
echo "$JAVA_HOME/bin/java -Djava.awt.headless=true -jar $THISDIR/bin/plantuml.jar $@" >plantuml
3838
chmod +x plantuml
3939
working-directory: ./bin
40-
- name: try plantuml
41-
run: |
42-
echo "@startuml\nversion\n@enduml"> test.puml
43-
plantuml test.puml
44-
40+
4541

4642
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
4743
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
4844
- name: Setup Gradle
4945
uses: gradle/actions/setup-gradle@v4
5046

51-
- name: Test with Gradle Wrapper
52-
run: ./gradlew doSite
47+
- name: create site
48+
uses: coactions/setup-xvfb@v1
49+
with:
50+
run: ./gradlew doSite
5351

0 commit comments

Comments
 (0)