File tree 4 files changed +18
-13
lines changed
4 files changed +18
-13
lines changed Original file line number Diff line number Diff line change
1
+ # See https://github.com/actions/starter-workflows/blob/main/ci/maven.yml
2
+ # and https://github.com/actions/setup-java
1
3
name : Java CI with Maven
2
4
on :
3
5
push :
8
10
build :
9
11
runs-on : ubuntu-latest
10
12
steps :
11
- - uses : actions/checkout@v2
12
- - name : Set up JDK 11
13
- uses : actions/setup-java@v2
13
+ - uses : actions/checkout@v3
14
+ - name : Set up JDK 17
15
+ uses : actions/setup-java@v3
14
16
with :
15
- java-version : ' 11 '
16
- distribution : ' adopt '
17
+ java-version : ' 17 '
18
+ distribution : ' corretto '
17
19
cache : maven
18
20
- name : Build with Maven
19
21
run : mvn -B package --file pom.xml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -111,17 +111,25 @@ master branch. See [maven.yml](.github/workflows/maven.yml)
111
111
112
112
### Release process
113
113
114
+ See the process to [ prepare] ( https://maven.apache.org/maven-release/maven-release-plugin/usage/prepare-release.html )
115
+ and [ perform] ( https://maven.apache.org/maven-release/maven-release-plugin/usage/perform-release.html ) the
116
+ release, but the steps are ...
117
+
114
118
* Make sure that all files are committed
115
119
* ` mvn test `
116
120
* ` mvn release:prepare -DdryRun=true `
121
+ * You will be prompted for the release version to use
117
122
* ` mvn release:clean `
118
123
* ` mvn release:prepare `
119
124
* ` mvn release:perform `
120
125
* Assuming that we are releasing ` A.B.C `
121
126
* At this point the pom.xml should have been updated to the ` next-version-SNAPSHOT ` version
122
- * There should a github tag called ` vA.B.C `
123
- * We still need to create a Release (and release notes) manually from this tag.
127
+ * Run ` git tag ` . There should a github tag called ` vA.B.C `
124
128
129
+ * We still need to create a Release (and release notes) manually from this tag.
130
+ * Go to ` https://github.com/Sdaas/hello-karate/tags `
131
+ * Select the latest tag and ` Release ` it
132
+
125
133
### References
126
134
127
135
* [ Karate DSL ] ( https://github.com/karatelabs/karate )
Original file line number Diff line number Diff line change 14
14
<description >Getting started with Karate</description >
15
15
16
16
<properties >
17
- <java .version>11 </java .version>
17
+ <java .version>17 </java .version>
18
18
19
19
<junit-jupiter .version>5.9.3</junit-jupiter .version>
20
20
<karate .version>1.4.1</karate .version>
You can’t perform that action at this time.
0 commit comments