From a48e0da742aa6d61ab2c4c57afa2001720b01a7e Mon Sep 17 00:00:00 2001 From: mrizzi Date: Wed, 18 Jan 2023 15:20:45 +0100 Subject: [PATCH 1/2] Added the branch to checkout action --- .github/workflows/pr-build-jdk11.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-jdk11.yaml b/.github/workflows/pr-build-jdk11.yaml index 12b4bd5..3c5c21b 100644 --- a/.github/workflows/pr-build-jdk11.yaml +++ b/.github/workflows/pr-build-jdk11.yaml @@ -20,7 +20,8 @@ jobs: with: repository: windup/windup path: windup - - name: Checkout windup repo + ref: ${{ github.base_ref }} + - name: Checkout windup-quickstarts repo uses: actions/checkout@v3 with: path: windup-quickstarts From d99c4d705da62e8fa689a815c9d3b655c51745e4 Mon Sep 17 00:00:00 2001 From: mrizzi Date: Wed, 18 Jan 2023 16:53:36 +0100 Subject: [PATCH 2/2] Added windup-rulesets and windup-maven-plugin builds --- .github/workflows/pr-build-jdk11.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-build-jdk11.yaml b/.github/workflows/pr-build-jdk11.yaml index 3c5c21b..fbf1e48 100644 --- a/.github/workflows/pr-build-jdk11.yaml +++ b/.github/workflows/pr-build-jdk11.yaml @@ -21,6 +21,18 @@ jobs: repository: windup/windup path: windup ref: ${{ github.base_ref }} + - name: Checkout windup-maven-plugin repo + uses: actions/checkout@v3 + with: + repository: windup/windup-maven-plugin + path: windup-maven-plugin + ref: ${{ github.base_ref }} + - name: Checkout windup-rulesets repo + uses: actions/checkout@v3 + with: + repository: windup/windup-rulesets + path: windup-rulesets + ref: ${{ github.base_ref }} - name: Checkout windup-quickstarts repo uses: actions/checkout@v3 with: @@ -34,8 +46,9 @@ jobs: cache: 'maven' - name: Build Windup on JDK 11 run: mvn -B clean install -DskipTests -f windup + - name: Build Windup Rules on JDK 11 + run: mvn -B clean install -DskipTests -f windup-rulesets + - name: Build Windup Maven Plugin on JDK 11 + run: mvn -B clean install -DskipTests -f windup-maven-plugin - name: Build on JDK 11 run: mvn -B clean install -s ./windup-quickstarts/settings.xml -DskipTests -f windup-quickstarts && mvn -B clean install -s ./windup-quickstarts/settings.xml -f windup-quickstarts - - -