Skip to content

mcgivrer is building a JDK based project mcgivrer/GameApp πŸš€ #16

mcgivrer is building a JDK based project mcgivrer/GameApp πŸš€

mcgivrer is building a JDK based project mcgivrer/GameApp πŸš€ #16

Workflow file for this run

name: Java build
run-name: ${{ github.actor }} is building a JDK based project ${{github.repository}} πŸš€
on: [push]
jobs:
Build-Java-Project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "zulu" # See 'Supported distributions' for available options
java-version: "22"
- name: Build project with custom script and Xvfb
run: |
sudo apt-get install xvfb
export DISPLAY=":99.0"
export AUDIODEV=null
xvfb-run :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
chmod +x ./build.sh
./build.sh a