mirror of
https://github.com/ashhhleyyy/player-pronouns.git
synced 2024-11-01 07:07:38 +00:00
24 lines
627 B
YAML
24 lines
627 B
YAML
name: Build
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Validate gradle wrapper
|
|
uses: gradle/wrapper-validation-action@v1
|
|
- name: Setup JDK 16
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 16
|
|
- name: Ensure gradlew is executable
|
|
run: chmod +x ./gradlew
|
|
- name: Build with gradle
|
|
run: ./gradlew build
|
|
- name: Upload build artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: build/libs/
|