Skip to content

Commit

Permalink
Merge pull request #14 from mdnorman/mnorman-github-actions
Browse files Browse the repository at this point in the history
chore: add github action
  • Loading branch information
mdnorman committed Jan 8, 2022
2 parents 63477f7 + f59bf26 commit 1dd1c3d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,20 @@
name: CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ '**' ]

jobs:
build:
runs-on: ubuntu-latest
container:
image: openjdk:17.0.1-jdk

steps:
- name: Check out code
uses: actions/checkout@v2
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.1.0
with:
arguments: build
2 changes: 1 addition & 1 deletion build.gradle.kts
Expand Up @@ -51,7 +51,7 @@ val sourceJar by tasks.creating(Jar::class) {

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "1.17"
}
}

Expand Down

0 comments on commit 1dd1c3d

Please sign in to comment.