From 9237dc565ef2f51f383082cc932b5fdfde0e7cf5 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 21 Mar 2023 08:46:21 +0100 Subject: [PATCH] test updated --- .gitea/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index fe3584d..ea224ba 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -4,24 +4,25 @@ # against bad commits. name: build -on: [pull_request, push] +on: [push, pull_request] jobs: build: strategy: matrix: + java: [ '17' ] # and run on both Linux and Windows - os: [ubuntu-latest] + os: [ubuntu-latest, windows-2022] runs-on: ${{ matrix.os }} steps: - name: checkout repository uses: actions/checkout@v3 - name: validate gradle wrapper uses: https://github.com/gradle/wrapper-validation-action@v1 - - name: setup jdk 17 + - name: setup jdk ${{ matrix.Java }} uses: setup-java@v3 with: - java-version: 17 + java-version: ${{ matrix.java }} distribution: 'oracle' - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }}