This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git

commit f1d6d0e84a01621acd77822c51e2c64afac492ff
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Apr 10 12:38:09 2022 +1000

    test gh action
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 .../{workflows/maven.yml => release-drafter.yml}   | 34 ++------------------
 .github/workflows/maven.yml                        |  8 ++---
 .../workflows/{maven.yml => release-drafter.yml}   | 36 +++++-----------------
 3 files changed, 14 insertions(+), 64 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/release-drafter.yml
similarity index 58%
copy from .github/workflows/maven.yml
copy to .github/release-drafter.yml
index 0e1731e0..9d4314a7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/release-drafter.yml
@@ -15,35 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: GitHub CI
-
-on:
-  push:
-    branches-ignore:
-      - dependabot/**
-  pull_request:
-
-jobs:
-  build:
-
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest]
-        java: [8, 11]
-      fail-fast: false
-
-    runs-on: ${{ matrix.os }}
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2.5.0
-        with:
-          distribution: adopt
-          java-version: ${{ matrix.java }}
-          cache: 'maven'
-
-      - name: Build with Maven
-        run: mvn -e -B -V verify
+_extends: archiva-parent
+tag-template: redback-2.6.x-$NEXT_MINOR_VERSION
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0e1731e0..c8d415d8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -19,8 +19,6 @@ name: GitHub CI
 
 on:
   push:
-    branches-ignore:
-      - dependabot/**
   pull_request:
 
 jobs:
@@ -30,7 +28,7 @@ jobs:
       matrix:
         os: [ubuntu-latest, windows-latest]
         java: [8, 11]
-      fail-fast: false
+      fail-fast: true
 
     runs-on: ${{ matrix.os }}
 
@@ -42,8 +40,10 @@ jobs:
         uses: actions/setup-java@v2.5.0
         with:
           distribution: adopt
+          distribution: temurin
           java-version: ${{ matrix.java }}
           cache: 'maven'
 
       - name: Build with Maven
-        run: mvn -e -B -V verify
+        run: mvn -e -B -V install
+
diff --git a/.github/workflows/maven.yml b/.github/workflows/release-drafter.yml
similarity index 60%
copy from .github/workflows/maven.yml
copy to .github/workflows/release-drafter.yml
index 0e1731e0..11a02029 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/release-drafter.yml
@@ -15,35 +15,15 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: GitHub CI
-
+name: Release Drafter
 on:
   push:
-    branches-ignore:
-      - dependabot/**
-  pull_request:
-
+    branches:
+      - archiva-2.x
 jobs:
-  build:
-
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest]
-        java: [8, 11]
-      fail-fast: false
-
-    runs-on: ${{ matrix.os }}
-
+  update_release_draft:
+    runs-on: ubuntu-latest
     steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2.5.0
-        with:
-          distribution: adopt
-          java-version: ${{ matrix.java }}
-          cache: 'maven'
-
-      - name: Build with Maven
-        run: mvn -e -B -V verify
+      - uses: release-drafter/release-drafter@v5
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file

Reply via email to