diff options
-rw-r--r-- | .github/workflows/build.yml | 23 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..38dcf29 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Gradle build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build diff --git a/README.md b/README.md index 2c68b6d..540f778 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Fabric Example Mod - Kotlin +![Gradle build](https://github.com/natanfudge/fabric-example-mod-kotlin/workflows/build/badge.svg) ## Setup |