mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-29 06:35:28 +01:00
5fbfce0efd
Took 5 minutes
36 lines
764 B
YAML
36 lines
764 B
YAML
name: Auction House Build
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
- '.github/workflows/maven.yml'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-package: jdk
|
|
java-version: 1.8
|
|
|
|
- name: Cache Maven Packages
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: ~/.m2
|
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
|
restore-keys: ${{ runner.os }}-m2
|
|
|
|
- name: Build with Maven
|
|
run: mvn verify -B --file pom.xml
|
|
|
|
jitpack:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: badasintended/autojitpack@v0 |