Skip to content

Commit

Permalink
ci: update github workflows for Vaadin 23 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy authored and paodb committed Jul 4, 2024
1 parent 74f89ce commit 69d4327
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/vaadin-23.yml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 1 addition & 14 deletions .github/workflows/maven.yml → .github/workflows/vaadin-24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -40,4 +27,4 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build (Vaadin 24)
run: mvn -B package --file pom.xml -Pv24
run: mvn -B package --file pom.xml

0 comments on commit 69d4327

Please sign in to comment.