Skip to content

Commit fa26cb3

Browse files
Add GitHub Actions (#442)
* Add workflow * Add status badge
1 parent d6f3895 commit fa26cb3

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/maven.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Maven Package
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK 8
15+
uses: actions/setup-java@v2
16+
with:
17+
java-version: '8'
18+
distribution: 'adopt'
19+
- name: Build with Maven
20+
run: mvn -B package --file pom.xml

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Hypixel Public API (Java)
22
======
3+
[![Maven Package](https://github.com/HypixelDev/PublicAPI/actions/workflows/maven.yml/badge.svg)](https://github.com/HypixelDev/PublicAPI/actions/workflows/maven.yml)
4+
35
This is a Java implementation of the Hypixel API. For discussing the API, requesting help or suggestions you can use the
46
GitHub [Discussions](https://github.com/HypixelDev/PublicAPI/discussions).
57

0 commit comments

Comments
 (0)