File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- # This workflow will publish a Java project with Gradle
6- # For maven build see: https://github.com/marketplace/actions/gradle-build-action
7- # For maven publishing see: https://docs. github.com/en /actions/publishing-packages/publishing-java-packages-with-maven
5+ # This workflow will publish a Java project with Maven
6+ # For Maven Release plugin see: https://maven.apache.org/maven-release/maven-release-plugin/
7+ # For GitHub release see: https://github.com/marketplace /actions/gh-release
88
99name : Publish Release
1010
9191 - name : " Get previous tag"
9292 id : previous_tag
9393 uses : WyriHaximus/github-action-get-previous-tag@v1
94-
95- # See https://github.com/marketplace/actions/gh-release
94+
9695 - name : " Create GitHub Release"
9796 uses : softprops/action-gh-release@v1
9897 with :
Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- # This workflow will publish a Java project with Gradle
6- # For maven build see: https://github.com/marketplace/actions/gradle-build-action
7- # For maven publishing see: https://docs.github.com/en/actions/publishing-packages/publishing-java-packages-with-maven
5+ # This workflow will publish a Java project with Maven
6+ # See https://github.com/jonashackt/github-actions-release-maven
87
98name : Publish Snapshot
109
Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- # This workflow will test a Java project with Gradle
6- # For more information see: https://docs. github.com/en/ actions/automating-builds-and-tests/building-and-testing-java-with -maven
5+ # This workflow will test a Java project with Maven
6+ # See https://github.com/jonashackt/github- actions-release -maven
77
88name : Java Tests
99on : [pull_request, push, workflow_dispatch]
2323 distribution : temurin
2424
2525 - name : Build with Maven
26- run : mvn --B --update-snapshots verify
26+ run : mvn -U -B verify # -U: force updates for dependencies, -B: no user input
You can’t perform that action at this time.
0 commit comments