Skip to content

Commit

Permalink
Add Github Workflow to build & store artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroCC committed Jul 26, 2023
1 parent 0e3fb3a commit 22c8aa4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Java CI

on: [push]

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: 'temurin'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build test

- name: Upload build jars
uses: actions/upload-artifact@v3
with:
name: jars
path: build/libs/

0 comments on commit 22c8aa4

Please sign in to comment.