File tree Expand file tree Collapse file tree 2 files changed +43
-3
lines changed
Expand file tree Collapse file tree 2 files changed +43
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Release Workflow
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v4
18+ with :
19+ distribution : ' temurin'
20+ java-version : ' 17'
21+
22+ - name : Import GPG key
23+ run : |
24+ echo "${{ secrets.GPG_PRIVATE_KEY }}" > private.key
25+ gpg --batch --pinentry-mode loopback --import private.key
26+ rm -f private.key
27+
28+ - name : Remove default Maven settings
29+ run : rm -f ~/.m2/settings.xml
30+
31+ - name : Setup Maven settings
32+ uses : 1arp/create-a-file-action@0.4.5
33+ with :
34+ path : /home/runnner/.m2
35+ isAbsolutePath : true
36+ file : settings.xml
37+ content : ${{ secrets.MAVEN_SETTINGS_XML }}
38+
39+ - name : Build and deploy
40+ run : mvn -B clean deploy -DskipTests -Prelease
Original file line number Diff line number Diff line change 77 <modelVersion >4.0.0</modelVersion >
88 <groupId >org.pgcodekeeper</groupId >
99 <artifactId >pgcodekeeper-core</artifactId >
10- <version >11.0.0</version >
10+ <version >11.0.0-rc.1 </version >
1111 <packaging >jar</packaging >
1212
1313 <name >pgcodekeeper-core</name >
177177 <plugin >
178178 <groupId >org.sonatype.central</groupId >
179179 <artifactId >central-publishing-maven-plugin</artifactId >
180- <version >0.4 .0</version >
180+ <version >0.8 .0</version >
181181 <extensions >true</extensions >
182182 <configuration >
183183 <publishingServerId >central</publishingServerId >
184- <tokenAuth >true</tokenAuth >
184+ <autoPublish >true</autoPublish >
185185 </configuration >
186186 </plugin >
187187 </plugins >
You can’t perform that action at this time.
0 commit comments