We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173c4f9 commit bd39a09Copy full SHA for bd39a09
.github/workflows/ci.yml
@@ -30,13 +30,15 @@ jobs:
30
gradle-home-cache-cleanup: true
31
- name: git fetch origin main
32
run: git fetch origin main
33
- - if: runner.os == 'Linux'
34
- run: |
35
- sudo apt-get install xvfb
36
- Xvfb :99 &
37
- export DISPLAY=:99
38
- name: gradlew build
39
- run: ./gradlew build
+ run: |
+ if [ "$RUNNER_OS" == "Linux" ]; then
+ sudo apt-get install xvfb
+ Xvfb :99 &
+ export DISPLAY=:99
+ fi
40
+ ./gradlew build
41
+ shell: bash
42
- name: junit result
43
uses: mikepenz/action-junit-report@v3
44
if: always() # always run even if the previous step fails
0 commit comments