add workflow files #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Setup Kotlin | |
uses: fwilhe2/setup-kotlin@main | |
- name: Build | |
id: build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
env: | |
SNAPSHOT: true | |
- name: Capture build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Propulsive | |
path: | | |
build/libs/ | |
!build/libs/*-sources.jar | |
!build/libs/*-dev.jar |