Files
runelite/.github/workflows/CI.yml
Adam 78e0cf5392 ci: use mvn verify phase instead of install
Installing the artifacts is not necessary, and
currently we have to remove them from the build
cache to prevent that from growing too large
2020-12-13 11:22:11 -05:00

30 lines
591 B
YAML

name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.m2/repository
~/.cache/runelite
key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml', '**/build.sh') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build
run: ./ci/build.sh