Merge pull request 'v0.0.8' (#10) from dev into master
Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user