From bb809b84634cd673c5a5740f85c214390cf4cd77 Mon Sep 17 00:00:00 2001 From: karen-avetisyan-mc <117922723+karen-avetisyan-mc@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:48:58 +0000 Subject: [PATCH] Create maven-test.yml --- .github/workflows/maven-test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/maven-test.yml diff --git a/.github/workflows/maven-test.yml b/.github/workflows/maven-test.yml new file mode 100644 index 0000000..20639fc --- /dev/null +++ b/.github/workflows/maven-test.yml @@ -0,0 +1,28 @@ +name: Build & Test +'on': + push: + branches: + - "**" + pull_request: + branches: + - "**" + schedule: + - cron: 0 16 * * * + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: + - 17 + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 0 + - name: 'Set up JDK ${{ matrix.java }}' + uses: actions/setup-java@v1 + with: + java-version: '${{ matrix.java }}' + - name: Build and test with Maven + run: mvn -B package -Dgpg.signature.skip=true -Dspring.profiles.active=oauth