From af16061bb2a05990526d448a79a863868263434d Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Mon, 12 Dec 2022 21:37:02 +0100 Subject: [PATCH] added CI to build the project jar --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..58cd4a1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build + +on: + push: + branches: ['*'] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 17 + + - name: Build + run: | + ./gradlew jar + + - uses: actions/upload-artifact@v3 + with: + name: PackageViewer jar + path: ./build/libs/PackageViewer*.jar