From 5e264c9d1f67f6aa16b35a1ba4eb3b04c7f2b0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nya=20=CE=9Elimu?= Date: Sun, 1 Sep 2024 17:41:36 +0700 Subject: [PATCH] Create maven-run.yml --- .github/workflows/maven-run.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/maven-run.yml diff --git a/.github/workflows/maven-run.yml b/.github/workflows/maven-run.yml new file mode 100644 index 000000000..dd1f92165 --- /dev/null +++ b/.github/workflows/maven-run.yml @@ -0,0 +1,23 @@ +name: Maven Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest] + java: [21] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + cache: maven + - run: mvn jetty:run