mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-10-01 07:11:39 -04:00
Introducing GitHub Actions
This commit is contained in:
parent
b9a0a3f996
commit
3510ca4c3a
31
.github/workflows/ci.yml
vendored
Normal file
31
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore: [ master ]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup JDK 8
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 8
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: gradle
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: gradle test
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Build output
|
||||||
|
path: build/libs/*
|
Loading…
x
Reference in New Issue
Block a user