Bump org.projectlombok:lombok from 1.18.26 to 1.18.30 #12
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 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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
name: Create Build | |
if: "startsWith(github.event.head_commit.message, '[Release]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'corretto' | |
cache: maven | |
- name: Build | |
run: mvn clean package | |
- name: Get Maven version | |
run: | | |
VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive exec:exec) | |
echo "VERSION=${VERSION}" >> $GITHUB_ENV | |
- name: Upload Artifact | |
uses: ncipollo/release-action@v1.10.0 | |
with: | |
artifacts: ${{ github.workspace }}/target/*.jar | |
draft: false | |
name: Release v${{ env.VERSION }} | |
tag: ${{ env.VERSION }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: "The artifacts are kept up to date with the branch release." | |
commit: ${{ github.sha }} | |
allowUpdates: true | |
removeArtifacts: true | |
replacesArtifacts: true |