Compare commits
6 Commits
571ed377a8
...
v0.0.8
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fb406427f | |||
|
|
a694189d96 | ||
| 386fded0a3 | |||
|
|
c6e2e9cc6d | ||
| 88fdc79c82 | |||
|
|
c5466ec373 |
@@ -28,7 +28,7 @@ jobs:
|
||||
echo "Running test suite..."
|
||||
- name: Build project
|
||||
run: |
|
||||
mvn -B -DskipTests clean verify
|
||||
mvn -B -DskipTests clean package source:jar javadoc:jar
|
||||
- name: Deploy to Nexus
|
||||
if: success()
|
||||
run: |
|
||||
@@ -59,11 +59,15 @@ jobs:
|
||||
echo "Missing build artifacts in target"
|
||||
exit 1
|
||||
fi
|
||||
mvn -B -DskipTests deploy \
|
||||
mvn -B deploy:deploy-file \
|
||||
-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 \
|
||||
-Djdk.tls.client.protocols=TLSv1.2 \
|
||||
-Dmaven.wagon.http.retryHandler.count=3 \
|
||||
-Dmaven.wagon.rto=1800000
|
||||
-Djdk.tls.client.protocols=TLSv1.2
|
||||
- name: Create release
|
||||
if: ${{ success() && startsWith(github.event.pull_request.title, 'v') }}
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user