Update github actions to support unreleased libraries (#905)
1. update workflow 2. update versions in pom.xml
This commit is contained in:
Родитель
72f3917b39
Коммит
6ea7129abf
|
@ -21,6 +21,24 @@ jobs:
|
|||
updateDocs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- run: |
|
||||
git init azure-sdk-for-java
|
||||
cd azure-sdk-for-java
|
||||
git remote add origin https://github.com/Azure/azure-sdk-for-java.git
|
||||
git config core.sparsecheckout true
|
||||
echo "sdk/spring" >> .git/info/sparse-checkout
|
||||
echo "eng" >> .git/info/sparse-checkout
|
||||
echo "sdk/keyvault" >> .git/info/sparse-checkout
|
||||
echo "sdk/boms" >> .git/info/sparse-checkout
|
||||
git pull --depth=1 origin feature/azure-spring-cloud-4.0
|
||||
mvn clean install -Dmaven.javadoc.skip=true -DskipTests \
|
||||
-Dcheckstyle.skip=true \
|
||||
-ntp \
|
||||
-Dspotbugs.skip=true \
|
||||
-Drevapi.skip=true -Djacoco.skip=true \
|
||||
-Dparallel-test-playback \
|
||||
-Pdev \
|
||||
-f sdk/spring/pom.xml
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d' --utc)"
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -26,7 +26,7 @@
|
|||
|
||||
<groupId>com.azure.spring</groupId>
|
||||
<artifactId>spring-cloud-azure-aggregator</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.0-beta.1</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Azure</name>
|
||||
<description>Spring Cloud Azure</description>
|
||||
|
@ -39,8 +39,8 @@
|
|||
<!-- <javax.activation.version>1.2.0</javax.activation.version> -->
|
||||
<spring-cloud-commons.version>3.1.1</spring-cloud-commons.version>
|
||||
<!-- "version.spring.cloud.azure" is used to update "_configprops.adoc".
|
||||
To make GitHub Actions pass, use the latest released version instead of current developing version.-->
|
||||
<version.spring.cloud.azure>4.0.0</version.spring.cloud.azure>
|
||||
-->
|
||||
<version.spring.cloud.azure>4.1.0-beta.1</version.spring.cloud.azure>
|
||||
<spring-javaformat.version>0.0.29</spring-javaformat.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
Загрузка…
Ссылка в новой задаче