Skip to content

Issues when using manual edit with color types - fix 2081345 #461

Issues when using manual edit with color types - fix 2081345

Issues when using manual edit with color types - fix 2081345 #461

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Install xvfb
run: |
sudo apt-get install -y xvfb
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
#Run in xvfb buffer, https://jxbrowser-support.teamdev.com/docs/guides/x-server-in-headless-linux.html
run: xvfb-run --server-args="-screen 0 800x600x24+32" ./gradlew -Djava.awt.headless=false build
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties