diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..fa4d15a --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,23 @@ +name: Java CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + architecture: x64 + - name: Build and test + run: mvn --batch-mode --update-snapshots verify + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: Package + path: target