Merge pull request #22 from traveltime-dev/9.4-support #9
Workflow file for this run
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
# This is a basic workflow to help you get started with Actions | |
name: Gradle Package | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
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 | |
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 | |
with: | |
arguments: -Ptag=${{github.ref_name}} shadowJar | |
- name: GH Release | |
uses: softprops/[email protected] | |
with: | |
files: "**/build/libs/*.jar" |