mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 15:25:08 +01:00
27 lines
612 B
YAML
Executable File
27 lines
612 B
YAML
Executable File
name: Gradle Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 16
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 16
|
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
|
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: ./build/libs/
|