- upgrades to setup gradle (#4902)
* - upgrades to setup gradle * - adds missing file filter and workflow dispatch * - fixes paths * - reverts path changes because of working directory
This commit is contained in:
Родитель
1dc499778a
Коммит
174544cd69
|
@ -13,6 +13,8 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- 'get-started/azure-auth/java/**'
|
- 'get-started/azure-auth/java/**'
|
||||||
- 'get-started/quickstart/java/**'
|
- 'get-started/quickstart/java/**'
|
||||||
|
- '.github/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-azure:
|
build-azure:
|
||||||
|
@ -32,11 +34,9 @@ jobs:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Make gradlew executable
|
- name: Make gradlew executable
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
- name: Build with Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
- run: ./gradlew build
|
||||||
build-root-directory: get-started/azure-auth/java/
|
|
||||||
arguments: build
|
|
||||||
|
|
||||||
build-quickstart:
|
build-quickstart:
|
||||||
|
|
||||||
|
@ -55,8 +55,6 @@ jobs:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Make gradlew executable
|
- name: Make gradlew executable
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
- name: Build with Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
- run: ./gradlew build
|
||||||
build-root-directory: get-started/quickstart/java/
|
|
||||||
arguments: build
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче