Browse Source

trying github actions pipeline

Jhonny Mertz 2 years ago
parent
commit
038c356182
1 changed files with 18 additions and 0 deletions
  1. 18 0
      .github/workflows/pipeline.yml

+ 18 - 0
.github/workflows/pipeline.yml

@@ -0,0 +1,18 @@
+name: Java CI
+
+on: [push]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v3
+      - name: Set up JDK 11
+        uses: actions/setup-java@v3
+        with:
+          java-version: '11'
+          distribution: 'adopt'
+          cache: maven
+      - name: Build with Maven
+        run: mvn --batch-mode --update-snapshots package