diff --git a/.github/workflows/vaadin-23.yml b/.github/workflows/vaadin-23.yml new file mode 100644 index 0000000..5cc21e8 --- /dev/null +++ b/.github/workflows/vaadin-23.yml @@ -0,0 +1,30 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "v23" ] + pull_request: + branches: [ "v23" ] + +jobs: + + build-vaadin23: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build (Vaadin 23) + run: mvn -B package --file pom.xml diff --git a/.github/workflows/maven.yml b/.github/workflows/vaadin-24.yml similarity index 69% rename from .github/workflows/maven.yml rename to .github/workflows/vaadin-24.yml index 66dc277..95c3fe2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/vaadin-24.yml @@ -15,19 +15,6 @@ on: branches: [ "master" ] jobs: - - build-vaadin23: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up JDK - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: maven - - name: Build (Vaadin 23) - run: mvn -B package --file pom.xml build-vaadin24: runs-on: ubuntu-latest @@ -40,4 +27,4 @@ jobs: distribution: 'temurin' cache: maven - name: Build (Vaadin 24) - run: mvn -B package --file pom.xml -Pv24 \ No newline at end of file + run: mvn -B package --file pom.xml \ No newline at end of file