fix action
This commit is contained in:
Родитель
5fbb9a3952
Коммит
d164bdc767
|
@ -18,28 +18,36 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Check-Links-Action
|
||||
steps:
|
||||
- uses: snow-actions/sparse-checkout@v1.1.0
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout Azure/azure-sdk-for-java
|
||||
with:
|
||||
patterns: |
|
||||
sdk/spring eng sdk/keyvault sdk/boms sdk/aot sdk/jdbc
|
||||
repository: Azure/azure-sdk-for-java
|
||||
repository: 'Azure/azure-sdk-for-java'
|
||||
path: 'azure-sdk-for-java'
|
||||
ref: main
|
||||
path: azure-sdk-for-java
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4.2.2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
- name: Build latest azure-sdk-for-java repository
|
||||
run: |
|
||||
cd azure-sdk-for-java
|
||||
mvn clean install -Dmaven.javadoc.skip=true -DskipTests \
|
||||
mvn clean install \
|
||||
-Dcheckstyle.skip=true \
|
||||
-ntp \
|
||||
-Dcodesnippet.skip \
|
||||
-Denforcer.skip \
|
||||
-Djacoco.skip=true \
|
||||
-Dmaven.javadoc.skip=true \
|
||||
-Drevapi.skip=true \
|
||||
-DskipTests \
|
||||
-Dspotbugs.skip=true \
|
||||
-Drevapi.skip=true -Djacoco.skip=true \
|
||||
-Dparallel-test-playback \
|
||||
-Pdev \
|
||||
-f sdk/spring/pom.xml
|
||||
-Pdev -T 4 -ntp -f sdk/spring/pom.xml
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docs
|
||||
run: |
|
||||
|
|
|
@ -19,38 +19,47 @@ jobs:
|
|||
updateDocs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: snow-actions/sparse-checkout@v1.1.0
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout Azure/azure-sdk-for-java
|
||||
with:
|
||||
patterns: |
|
||||
sdk/spring eng sdk/keyvault sdk/boms sdk/aot sdk/jdbc
|
||||
repository: Azure/azure-sdk-for-java
|
||||
ref: main
|
||||
path: azure-sdk-for-java
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4.2.2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
- name: Build latest azure-sdk-for-java repository
|
||||
run: |
|
||||
cd azure-sdk-for-java
|
||||
mvn clean install -Dmaven.javadoc.skip=true -DskipTests \
|
||||
mvn clean install \
|
||||
-Dcheckstyle.skip=true \
|
||||
-ntp \
|
||||
-Dcodesnippet.skip \
|
||||
-Denforcer.skip \
|
||||
-Djacoco.skip=true \
|
||||
-Dmaven.javadoc.skip=true \
|
||||
-Drevapi.skip=true \
|
||||
-DskipTests \
|
||||
-Dspotbugs.skip=true \
|
||||
-Drevapi.skip=true -Djacoco.skip=true \
|
||||
-Dparallel-test-playback \
|
||||
-Pdev \
|
||||
-f sdk/spring/pom.xml
|
||||
-Pdev -T 4 -ntp -f sdk/spring/pom.xml
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "date=$(date +'%Y-%m-%d' --utc)" >> $GITHUB_OUTPUT
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
- run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v4.2.2
|
||||
with:
|
||||
java-version: 11
|
||||
java-version: 17
|
||||
distribution: 'temurin'
|
||||
|
||||
- uses: actions/cache@v2
|
||||
id: mvn-cache
|
||||
|
|
|
@ -12,26 +12,33 @@ jobs:
|
|||
update_properties_table_in_ms_docs_job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: snow-actions/sparse-checkout@v1.1.0
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout Azure/azure-sdk-for-java
|
||||
with:
|
||||
patterns: |
|
||||
sdk/spring eng sdk/keyvault sdk/boms sdk/aot sdk/jdbc
|
||||
repository: Azure/azure-sdk-for-java
|
||||
repository: 'Azure/azure-sdk-for-java'
|
||||
path: 'azure-sdk-for-java'
|
||||
ref: main
|
||||
path: azure-sdk-for-java
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4.2.2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build latest azure-sdk-for-java repository
|
||||
run: |
|
||||
cd azure-sdk-for-java
|
||||
mvn clean install -Dmaven.javadoc.skip=true -DskipTests \
|
||||
mvn clean install \
|
||||
-Dcheckstyle.skip=true \
|
||||
-ntp \
|
||||
-Dcodesnippet.skip \
|
||||
-Denforcer.skip \
|
||||
-Djacoco.skip=true \
|
||||
-Dmaven.javadoc.skip=true \
|
||||
-Drevapi.skip=true \
|
||||
-DskipTests \
|
||||
-Dspotbugs.skip=true \
|
||||
-Drevapi.skip=true -Djacoco.skip=true \
|
||||
-Dparallel-test-playback \
|
||||
-Pdev \
|
||||
-f sdk/spring/pom.xml
|
||||
-T 4 -ntp -Pdev -f sdk/spring/pom.xml
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout microsoft/spring-cloud-azure
|
||||
|
|
Загрузка…
Ссылка в новой задаче