Compare commits
10 Commits
dev
...
571ed377a8
| Author | SHA1 | Date | |
|---|---|---|---|
| 571ed377a8 | |||
| 6b84af1f16 | |||
| 4302084b95 | |||
| 4f8054dc94 | |||
| 5c1e1ee52c | |||
| 01074e1ac2 | |||
| 1b60210c06 | |||
| 2290ac5ecf | |||
| 6101e8d462 | |||
| aaea3a218b |
@@ -28,7 +28,7 @@ jobs:
|
|||||||
echo "Running test suite..."
|
echo "Running test suite..."
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
mvn -B -DskipTests clean package source:jar javadoc:jar
|
mvn -B -DskipTests clean verify
|
||||||
- name: Deploy to Nexus
|
- name: Deploy to Nexus
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
@@ -59,15 +59,11 @@ jobs:
|
|||||||
echo "Missing build artifacts in target"
|
echo "Missing build artifacts in target"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
mvn -B deploy:deploy-file \
|
mvn -B -DskipTests deploy \
|
||||||
-Dfile="$main_jar" \
|
|
||||||
-Dsources="$sources_jar" \
|
|
||||||
-Djavadoc="$javadoc_jar" \
|
|
||||||
-DpomFile="./pom.xml" \
|
|
||||||
-Durl="https://nexus.imyeyu.com/repository/maven-releases/" \
|
|
||||||
-DrepositoryId="timi-nexus" \
|
|
||||||
-Dhttps.protocols=TLSv1.2 \
|
-Dhttps.protocols=TLSv1.2 \
|
||||||
-Djdk.tls.client.protocols=TLSv1.2
|
-Djdk.tls.client.protocols=TLSv1.2 \
|
||||||
|
-Dmaven.wagon.http.retryHandler.count=3 \
|
||||||
|
-Dmaven.wagon.rto=1800000
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: ${{ success() && startsWith(github.event.pull_request.title, 'v') }}
|
if: ${{ success() && startsWith(github.event.pull_request.title, 'v') }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
8
pom.xml
8
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.imyeyu.network</groupId>
|
<groupId>com.imyeyu.network</groupId>
|
||||||
<artifactId>timi-network</artifactId>
|
<artifactId>timi-network</artifactId>
|
||||||
<version>0.0.10</version>
|
<version>0.0.8</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -92,17 +92,17 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.imyeyu.io</groupId>
|
<groupId>com.imyeyu.io</groupId>
|
||||||
<artifactId>timi-io</artifactId>
|
<artifactId>timi-io</artifactId>
|
||||||
<version>0.0.5</version>
|
<version>0.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents.client5</groupId>
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
||||||
<artifactId>httpclient5-fluent</artifactId>
|
<artifactId>httpclient5-fluent</artifactId>
|
||||||
<version>5.6.1</version>
|
<version>5.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-databind</artifactId>
|
<artifactId>jackson-databind</artifactId>
|
||||||
<version>2.21.3</version>
|
<version>2.21.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user