Skip to content

feat: TabCompletion #33

feat: TabCompletion

feat: TabCompletion #33

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven and GitHub Releases
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Project Version (project.version) To Environment
run: echo "PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: mvn -B -X package --file pom.xml
- name: Publish to GitHub Releases
uses: softprops/action-gh-release@v1
with:
files: target/*.jar
token: ${{ secrets.GITHUB_TOKEN }}
release_name: ${{ env.PROJECT_VERSION }}
tag_name: ${{ env.PROJECT_VERSION }}
overwrite: true