Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

build: Use Xvfb display in kit-bundle workflow #566

Merged
merged 1 commit into from
Sep 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/bundles-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ jobs:
- name: Create Kit Jar
run: |
export DISPLAY=:90
mkdir /home/runner/.vnc
echo 123456 | vncpasswd -f > /home/runner/.vnc/passwd
chmod -v 600 /home/runner/.vnc/passwd
vncserver :90 -localhost -nolisten tcp
Xvfb -ac :90 -screen 0 1280x1024x24 > /dev/null 2>&1 &
mvn -B -ntp -q versions:set -DnewVersion=${{ env.PROJECT_VERSION }} -DgenerateBackupPoms=false
mvn -B -ntp clean package -Dmaven.test.skip=true -f kit -ntp -B
vncserver -kill :90
env:
PROJECT_VERSION: ${{ inputs.project-version }}

Expand Down