Skip to content

Commit

Permalink
Implement simple GitHub CI (#420)
Browse files Browse the repository at this point in the history
Provides a simple GitHub Actions powered CI, that builds on every PR
and merge to main, and provides downloadable repository zips for
testing or deployment.
  • Loading branch information
protoism authored Jan 31, 2023
1 parent e8a933a commit ceff817
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Java CI

on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'

- name: Build with Maven
run: mvn --batch-mode --update-snapshots package

- uses: actions/upload-artifact@v3
with:
name: repository
path: repo/target/repository/

0 comments on commit ceff817

Please sign in to comment.