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 2
2
#
3
3
# SPDX-License-Identifier: Apache-2.0
4
4
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
8
8
9
9
name : Publish Release
10
10
91
91
- name : " Get previous tag"
92
92
id : previous_tag
93
93
uses : WyriHaximus/github-action-get-previous-tag@v1
94
-
95
- # See https://github.com/marketplace/actions/gh-release
94
+
96
95
- name : " Create GitHub Release"
97
96
uses : softprops/action-gh-release@v1
98
97
with :
Original file line number Diff line number Diff line change 2
2
#
3
3
# SPDX-License-Identifier: Apache-2.0
4
4
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
8
7
9
8
name : Publish Snapshot
10
9
Original file line number Diff line number Diff line change 2
2
#
3
3
# SPDX-License-Identifier: Apache-2.0
4
4
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
7
7
8
8
name : Java Tests
9
9
on : [pull_request, push, workflow_dispatch]
23
23
distribution : temurin
24
24
25
25
- 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